Mon, 01 Jun 2015 02:08:11 -0400
Add pgdg repository
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 | |
1
18da47fe753c
Add some useful comments
Meredith Howard <mhoward@roomag.org>
parents:
0
diff
changeset
|
3 | # Not used here, but nice to have ready |
5 | 4 | - name: add backports repo |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
5 | apt_repository: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
6 | repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main" |
5 | 7 | tags: repos |
8 | ||
9 | - name: add pgdg repo | |
10 | apt_repository: | |
11 | repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main" | |
12 | tags: repos | |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
13 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
14 | - name: apt upgrade |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
15 | apt: upgrade=yes update_cache=yes cache_valid_time=3600 |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
16 | tags: packages, upgrade |
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 base packages |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
19 | apt: name={{item}} state=installed |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
20 | with_items: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
21 | - sudo |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
22 | - build-essential |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
23 | - git |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
24 | - mercurial |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
25 | - vim |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
26 | - exuberant-ctags |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
27 | - silversearcher-ag |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
28 | - zsh |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
29 | - tmux |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
30 | - ruby |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
31 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
32 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
33 | - name: Install GUI packages |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
34 | when: gui.enabled |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
35 | apt: name={{item}} state=installed |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
36 | with_items: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
37 | - i3 |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
38 | - vim-gtk |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
39 | - iceweasel |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
40 | - fonts-dejavu-extra |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
41 | - fonts-opensymbol |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
42 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
43 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
44 | - name: Install Extra packages |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
45 | apt: name={{item}} state=installed |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
46 | with_items: extra_packages |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
47 | tags: packages, install |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
48 | |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
49 | |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
50 | - name: Set default X session in lightdm |
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
51 | when: gui.session |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
52 | ini_file: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
53 | dest: /etc/lightdm/lightdm.conf |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
54 | section: SeatDefaults |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
55 | option: user-session |
2
515d87b4bfc4
Reorganize gui vars and allow setting default lightdm session
Meredith Howard <mhoward@roomag.org>
parents:
1
diff
changeset
|
56 | value: "{{gui.session}}" |
0
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
57 | backup: true |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
58 | notify: |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
59 | - restart lightdm |
f834f140ebad
Initial commit of devbox-ansible
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
60 |