Wed, 13 Apr 2016 12:35:08 -0400
don't assume backports
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 |
27
98981c22420a
Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
26
diff
changeset
|
4 | apt: name={{item}} state=installed |
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 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
8 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
9 | - name: Install GUI packages |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
10 | when: gui.enabled |
34 | 11 | apt: name={{item}} state=installed |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
12 | with_items: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
13 | - i3 |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
14 | - fonts-dejavu-extra |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
15 | - fonts-opensymbol |
16 | 16 | - scrot |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
17 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
18 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
19 | - name: Install Extra packages |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
20 | apt: name={{item}} state=installed |
15 | 21 | with_items: "{{extra_packages}}" |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
22 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
23 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
24 | |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
25 | - name: Set default X session in lightdm |
19
cdba9c64cdec
Skip gui.session unless gui.enabled
Meredith Howard <mhoward@roomag.org>
parents:
18
diff
changeset
|
26 | when: gui.enabled and gui.session |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
27 | ini_file: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
28 | dest: /etc/lightdm/lightdm.conf |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
29 | section: SeatDefaults |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
30 | option: user-session |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
31 | value: "{{gui.session}}" |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
32 | backup: true |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
33 | notify: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
34 | - restart lightdm |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
35 |