roles/devbox/tasks/dist-debian.yml

changeset 19
cdba9c64cdec
parent 18
934f20587c6d
child 26
4b7a16eeae42
--- a/roles/devbox/tasks/dist-debian.yml
+++ b/roles/devbox/tasks/dist-debian.yml
@@ -28,7 +28,7 @@
 
 
 - name: Set default X session in lightdm
-  when: gui.session
+  when: gui.enabled and gui.session
   ini_file:
     dest: /etc/lightdm/lightdm.conf
     section: SeatDefaults

mercurial