2 |
2 |
3 - name: Install base packages |
3 - name: Install base packages |
4 apt: name={{item}} state=installed |
4 apt: name={{item}} state=installed |
5 with_items: |
5 with_items: |
6 - build-essential |
6 - build-essential |
|
7 - git |
|
8 - mercurial |
|
9 - zsh |
|
10 - tmux |
|
11 - vim-nox |
|
12 - silversearcher-ag |
|
13 - exuberant-ctags |
7 tags: packages, install |
14 tags: packages, install |
8 |
15 |
9 - name: Install GUI packages |
16 - name: Install GUI packages |
10 when: gui.enabled |
17 when: gui.enabled |
11 apt: name={{item}} state=installed |
18 apt: name={{item}} state=installed |
12 with_items: |
19 with_items: |
13 - i3 |
20 - i3 |
14 - fonts-dejavu-extra |
21 - fonts-dejavu-extra |
15 - fonts-opensymbol |
22 - fonts-opensymbol |
16 - scrot |
23 - scrot |
|
24 - vim-gtk |
17 tags: packages, install |
25 tags: packages, install |
18 |
|
19 - name: Install Extra packages |
|
20 apt: name={{item}} state=installed |
|
21 with_items: "{{extra_packages}}" |
|
22 tags: packages, install |
|
23 |
|
24 |
26 |
25 - name: Set default X session in lightdm |
27 - name: Set default X session in lightdm |
26 when: gui.enabled and gui.session |
28 when: gui.enabled and gui.session |
27 ini_file: |
29 ini_file: |
28 dest: /etc/lightdm/lightdm.conf |
30 dest: /etc/lightdm/lightdm.conf |