roles/devbox/tasks/dist-debian.yml

Sun, 14 Jul 2019 02:45:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 14 Jul 2019 02:45:55 -0500
changeset 88
3dbfd253c775
parent 81
47d7ef3be553
child 89
86248a83a3dd
permissions
-rw-r--r--

separate disable_stock_users role

---

- name: Install base packages
  tags: packages, install
  apt:
    state: installed
    name:
      - build-essential
      - git
      - mercurial
      - zsh
      - tmux
      - vim
      - silversearcher-ag
      - exuberant-ctags
      - unattended-upgrades

- name: Install GUI packages
  tags: packages, install
  when: gui_enabled
  apt:
    state: installed
    name:
      - lightdm
      - rxvt-unicode-256color
      - i3
      - xautolock
      - fonts-dejavu-extra
      - fonts-opensymbol
      - scrot
      - vim-gtk

- name: Install non-gui packages
  tags: packages, install
  when: not gui_enabled
  apt:
    state: installed
    name:
      - vim-nox

- name: Set default X session in lightdm
  when: gui_enabled and gui_session
  ini_file:
    dest: /etc/lightdm/lightdm.conf
    section: SeatDefaults
    option: user-session
    value: "{{gui_session}}"
    backup: true

mercurial