roles/devbox/tasks/dist-debian.yml

Wed, 14 Jun 2017 22:13:48 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 14 Jun 2017 22:13:48 -0400
changeset 56
b5103023562e
parent 53
4cac9ded1fb8
child 57
6172fc31a08f
permissions
-rw-r--r--

oops, aptitude!

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
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 tags: packages, install
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 - name: Install GUI packages
44
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
17 when: gui_enabled
34
1a793d630c76 don't assume backports
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
18 apt: name={{item}} state=installed
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 with_items:
45
2383a9aa66a8 actually install lightdm
Meredith Howard <mhoward@roomag.org>
parents: 44
diff changeset
20 - lightdm
46
c98aa42d7d53 Add urxvt 256
Meredith Howard <mhoward@roomag.org>
parents: 45
diff changeset
21 - rxvt-unicode-256color
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 - i3
48
af865a84224a add more installs
Meredith Howard <mhoward@roomag.org>
parents: 46
diff changeset
23 - xautolock
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 - fonts-dejavu-extra
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 - fonts-opensymbol
16
c781422f639f add scrot
Meredith Howard <mhoward@roomag.org>
parents: 15
diff changeset
26 - scrot
38
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
27 - vim-gtk
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 tags: packages, install
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29
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
30 - 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
31 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
32 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
33 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
34 - vim-nox
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
2
515d87b4bfc4 Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
36 - name: Set default X session in lightdm
40
7325a3c8fbb3 var cleanup
Meredith Howard <mhoward@roomag.org>
parents: 38
diff changeset
37 when: gui_enabled and gui_session
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38 ini_file:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
39 dest: /etc/lightdm/lightdm.conf
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40 section: SeatDefaults
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 option: user-session
40
7325a3c8fbb3 var cleanup
Meredith Howard <mhoward@roomag.org>
parents: 38
diff changeset
42 value: "{{gui_session}}"
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
43 backup: true
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
44
44
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
45 - name: Enable and start lightdm
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
46 when: gui_enabled
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
47 service:
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
48 name: lightdm
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
49 enabled: yes
bb6b3457957b fixup gui
Meredith Howard <mhoward@roomag.org>
parents: 40
diff changeset
50 state: started

mercurial