---

- name: add user
  user:
    name: "{{ osmocom_user }}"
    generate_ssh_key: yes
    ssh_key_bits: 4096
    ssh_key_type: rsa
    shell: /usr/bin/zsh
    groups: docker

- name: import git repos
  import_tasks: git-repos.yml

- name: install distribution packages
  apt:
    name:
      - iceweasel
      - vim
      - evince
      - valgrind
      - gdb
      - libc6-dbg
      - wireshark
      - tcpdump
      - ccache
      - gnupg
      - openssh-client
      - openssh-server
      - console-common
      - console-data
      - meld
      - emacs
      - gitk
      - okular
      - libreoffice-calc
      - libreoffice-draw
      - libreoffice-impress
      - libreoffice-writer
      - gnumeric
      - openvpn
      - fvwm
      - xfce4
      - network-manager
      - modemmanager
    cache_valid_time: 3600
    update_cache: yes
