roles/devbox/tasks/debian.yml

changeset 2
515d87b4bfc4
parent 1
18da47fe753c
child 5
5ca52e9c51fa
equal deleted inserted replaced
1:18da47fe753c 2:515d87b4bfc4
23 - tmux 23 - tmux
24 - ruby 24 - ruby
25 tags: packages, install 25 tags: packages, install
26 26
27 - name: Install GUI packages 27 - name: Install GUI packages
28 when: with_gui 28 when: gui.enabled
29 apt: name={{item}} state=installed 29 apt: name={{item}} state=installed
30 with_items: 30 with_items:
31 - i3 31 - i3
32 - vim-gtk 32 - vim-gtk
33 - iceweasel 33 - iceweasel
39 apt: name={{item}} state=installed 39 apt: name={{item}} state=installed
40 with_items: extra_packages 40 with_items: extra_packages
41 tags: packages, install 41 tags: packages, install
42 42
43 43
44 - name: Set default X session to i3 44 - name: Set default X session in lightdm
45 when: with_gui 45 when: gui.session
46 ini_file: 46 ini_file:
47 dest: /etc/lightdm/lightdm.conf 47 dest: /etc/lightdm/lightdm.conf
48 section: SeatDefaults 48 section: SeatDefaults
49 option: user-session 49 option: user-session
50 value: i3 50 value: "{{gui.session}}"
51 backup: true 51 backup: true
52 notify: 52 notify:
53 - restart lightdm 53 - restart lightdm
54 54

mercurial