@@ -7,25 +7,23 @@ | |||||
- name: make sure no other display managers are installed | - name: make sure no other display managers are installed | ||||
apt: | apt: | ||||
name: "{{ item }}" | |||||
pkg: | |||||
- slim | |||||
- gdm3 | |||||
- kdm | |||||
- sddm | |||||
state: absent | state: absent | ||||
with_items: | |||||
- slim | |||||
- gdm3 | |||||
- kdm | |||||
- sddm | |||||
- name: install packages | - name: install packages | ||||
apt: | apt: | ||||
pkg: "{{ item }}" | |||||
with_items: | |||||
- xserver-xorg | |||||
- xserver-xorg-video-all | |||||
- xserver-xorg-input-all | |||||
- x11-xserver-utils | |||||
- lightdm | |||||
- lightdm-gtk-greeter | |||||
- onboard | |||||
pkg: | |||||
- xserver-xorg | |||||
- xserver-xorg-video-all | |||||
- xserver-xorg-input-all | |||||
- x11-xserver-utils | |||||
- lightdm | |||||
- lightdm-gtk-greeter | |||||
- onboard | |||||
notify: restart lightdm | notify: restart lightdm | ||||
- import_tasks: maintenance.yml | - import_tasks: maintenance.yml | ||||
@@ -2,11 +2,10 @@ | |||||
- name: install maintenance mode packages | - name: install maintenance mode packages | ||||
apt: | apt: | ||||
name: "{{ item }}" | |||||
with_items: | |||||
- yad | |||||
- xbindkeys | |||||
- feh | |||||
name: | |||||
- yad | |||||
- xbindkeys | |||||
- feh | |||||
notify: restart lightdm | notify: restart lightdm | ||||
- name: maintenance user | - name: maintenance user | ||||