roles/devbox/tasks/dist-debian.yml

Wed, 13 Apr 2016 12:20:22 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:20:22 -0400
changeset 30
f468e5f566d1
parent 27
98981c22420a
child 34
1a793d630c76
permissions
-rw-r--r--

break out dotfiles playbook and enable agent forwarding

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
10
ee86092e374a use dist-named includes. fix apt-repository for rpi
Meredith Howard <mhoward@roomag.org>
parents: 9
diff changeset
11 apt: name={{item}} state=installed default_release={{ansible_distribution_release}}-backports
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
c781422f639f add scrot
Meredith Howard <mhoward@roomag.org>
parents: 15
diff changeset
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
8331067f9c8c deprecation fixes
Meredith Howard <mhoward@roomag.org>
parents: 10
diff changeset
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

mercurial