roles/devbox/tasks/dist-debian.yml

changeset 38
06adc2a14d3e
parent 37
d6d4702712f7
child 40
7325a3c8fbb3
equal deleted inserted replaced
37:d6d4702712f7 38:06adc2a14d3e
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
31 value: "{{gui.session}}" 33 value: "{{gui.session}}"
32 backup: true 34 backup: true
33 notify: 35 notify:
34 - reload lightdm 36 - reload lightdm
35 37
38 - apt_repository:
39 repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
40 when: ansible_distribution_release != 'NA'
41 tags: repos
42
43 - apt:
44 name: firefox
45 state: latest
46 tags: packages, install
47 when: ansible_distribution_release != 'NA'

mercurial