roles/devbox/tasks/dist-debian.yml

Sun, 20 Mar 2016 11:17:48 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 20 Mar 2016 11:17:48 -0400
changeset 26
4b7a16eeae42
parent 19
cdba9c64cdec
child 27
98981c22420a
permissions
-rw-r--r--

update roles

0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 ---
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 - name: Install base packages
10
ee86092e374a use dist-named includes. fix apt-repository for rpi
Meredith Howard <mhoward@roomag.org>
parents: 9
diff changeset
4 apt: name={{item}} state=installed default_release={{ansible_distribution_release}}-backports
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 with_items:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 - build-essential
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 - vim
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 tags: packages, install
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 - name: Install GUI packages
2
515d87b4bfc4 Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
11 when: gui.enabled
10
ee86092e374a use dist-named includes. fix apt-repository for rpi
Meredith Howard <mhoward@roomag.org>
parents: 9
diff changeset
12 apt: name={{item}} state=installed default_release={{ansible_distribution_release}}-backports
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 with_items:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 - i3
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 - vim-gtk
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 - iceweasel
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 - fonts-dejavu-extra
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 - fonts-opensymbol
16
c781422f639f add scrot
Meredith Howard <mhoward@roomag.org>
parents: 15
diff changeset
19 - scrot
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 tags: packages, install
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 - name: Install Extra packages
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23 apt: name={{item}} state=installed
15
8331067f9c8c deprecation fixes
Meredith Howard <mhoward@roomag.org>
parents: 10
diff changeset
24 with_items: "{{extra_packages}}"
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 tags: packages, install
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27
2
515d87b4bfc4 Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
28 - name: Set default X session in lightdm
19
cdba9c64cdec Skip gui.session unless gui.enabled
Meredith Howard <mhoward@roomag.org>
parents: 18
diff changeset
29 when: gui.enabled and gui.session
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 ini_file:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31 dest: /etc/lightdm/lightdm.conf
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 section: SeatDefaults
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 option: user-session
2
515d87b4bfc4 Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
34 value: "{{gui.session}}"
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35 backup: true
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36 notify:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 - restart lightdm
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38

mercurial