roles/devbox/tasks/dist-debian.yml

Wed, 13 Apr 2016 13:10:01 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 13:10:01 -0400
changeset 42
e7b5a22ee347
parent 40
7325a3c8fbb3
child 44
bb6b3457957b
permissions
-rw-r--r--

Add extra defaults

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
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
11 - vim-nox
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
2
515d87b4bfc4 Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents: 1
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:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 - i3
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 - fonts-dejavu-extra
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 - fonts-opensymbol
16
c781422f639f add scrot
Meredith Howard <mhoward@roomag.org>
parents: 15
diff changeset
23 - scrot
38
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
24 - vim-gtk
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
2
515d87b4bfc4 Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents: 1
diff changeset
27 - name: Set default X session in lightdm
40
7325a3c8fbb3 var cleanup
Meredith Howard <mhoward@roomag.org>
parents: 38
diff changeset
28 when: gui_enabled and gui_session
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29 ini_file:
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 dest: /etc/lightdm/lightdm.conf
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31 section: SeatDefaults
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 option: user-session
40
7325a3c8fbb3 var cleanup
Meredith Howard <mhoward@roomag.org>
parents: 38
diff changeset
33 value: "{{gui_session}}"
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 backup: true
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35 notify:
37
d6d4702712f7 reload lightdm instead
Meredith Howard <mhoward@roomag.org>
parents: 34
diff changeset
36 - reload lightdm
0
f834f140ebad Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37
38
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
38 - apt_repository:
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
39 repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
40 when: ansible_distribution_release != 'NA'
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
41 tags: repos
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
42
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
43 - apt:
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
44 name: firefox
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
45 state: latest
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
46 tags: packages, install
06adc2a14d3e Move stuff back into single playbooks
Meredith Howard <mhoward@roomag.org>
parents: 37
diff changeset
47 when: ansible_distribution_release != 'NA'

mercurial