Sat, 22 Jun 2019 04:26:10 -0400
merge
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 |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
4 | tags: packages, install |
80 | 5 | apt: |
6 | state: installed | |
7 | name: | |
8 | - build-essential | |
9 | - git | |
10 | - mercurial | |
11 | - zsh | |
12 | - tmux | |
13 | - vim | |
14 | - silversearcher-ag | |
15 | - exuberant-ctags | |
16 | - unattended-upgrades | |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
17 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
18 | - name: Install GUI packages |
80 | 19 | tags: packages, install |
44 | 20 | when: gui_enabled |
80 | 21 | apt: |
22 | state: installed | |
23 | name: | |
24 | - lightdm | |
25 | - rxvt-unicode-256color | |
26 | - i3 | |
27 | - xautolock | |
28 | - fonts-dejavu-extra | |
29 | - fonts-opensymbol | |
30 | - scrot | |
31 | - vim-gtk | |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
32 | |
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
|
33 | - name: Install non-gui packages |
80 | 34 | 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
|
35 | when: not gui_enabled |
80 | 36 | apt: |
37 | state: installed | |
38 | name: | |
39 | - vim-nox | |
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
|
40 | |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
41 | - name: Set default X session in lightdm |
40 | 42 | when: gui_enabled and gui_session |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
43 | ini_file: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
44 | dest: /etc/lightdm/lightdm.conf |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
45 | section: SeatDefaults |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
46 | option: user-session |
40 | 47 | value: "{{gui_session}}" |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
48 | backup: true |