Mon, 22 Oct 2018 20:45:59 -0500
update debian-backports repo
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 |
38
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
7 | - git |
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
8 | - mercurial |
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
9 | - zsh |
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
10 | - tmux |
51
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
11 | - vim |
38
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
12 | - silversearcher-ag |
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
13 | - exuberant-ctags |
57 | 14 | - unattended-upgrades |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
15 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
16 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
17 | - name: Install GUI packages |
44 | 18 | when: gui_enabled |
34 | 19 | apt: name={{item}} state=installed |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
20 | with_items: |
45
2383a9aa66a8
actually install lightdm
Meredith Howard <mhoward@roomag.org>
parents:
44
diff
changeset
|
21 | - lightdm |
46 | 22 | - rxvt-unicode-256color |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
23 | - i3 |
48 | 24 | - xautolock |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
25 | - fonts-dejavu-extra |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
26 | - fonts-opensymbol |
16 | 27 | - scrot |
38
06adc2a14d3e
Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents:
37
diff
changeset
|
28 | - vim-gtk |
74 | 29 | - firefox-esr |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
30 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
31 | |
51
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
32 | - name: Install non-gui packages |
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
33 | when: not gui_enabled |
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
34 | apt: name={{item}} state=installed |
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
35 | with_items: |
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
36 | - vim-nox |
63 | 37 | tags: packages, install |
51
5af98666f4d4
Make sure we don't try to install vim-nox and vim-gtk every pass
Meredith Howard <mhoward@roomag.org>
parents:
49
diff
changeset
|
38 | |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
39 | - name: Set default X session in lightdm |
40 | 40 | when: gui_enabled and gui_session |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
41 | ini_file: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
42 | dest: /etc/lightdm/lightdm.conf |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
43 | section: SeatDefaults |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
44 | option: user-session |
40 | 45 | value: "{{gui_session}}" |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
46 | backup: true |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
47 | |
44 | 48 | - name: Enable and start lightdm |
49 | when: gui_enabled | |
50 | service: | |
51 | name: lightdm | |
52 | enabled: yes | |
53 | state: started |