roles/devbox/tasks/dist-debian.yml

Wed, 13 Apr 2016 12:35:08 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:35:08 -0400
changeset 34
1a793d630c76
parent 27
98981c22420a
child 37
d6d4702712f7
permissions
-rw-r--r--

don't assume backports

---

- name: Install base packages
  apt: name={{item}} state=installed
  with_items:
    - build-essential
  tags: packages, install

- name: Install GUI packages
  when: gui.enabled
  apt: name={{item}} state=installed
  with_items:
    - i3
    - fonts-dejavu-extra
    - fonts-opensymbol
    - scrot
  tags: packages, install

- name: Install Extra packages
  apt: name={{item}} state=installed
  with_items: "{{extra_packages}}"
  tags: packages, install


- 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
  notify:
  - restart lightdm

mercurial