Skip gui.session unless gui.enabled

Sun, 20 Mar 2016 11:01:02 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 20 Mar 2016 11:01:02 -0400
changeset 19
cdba9c64cdec
parent 18
934f20587c6d
child 20
1da49d996e3d

Skip gui.session unless gui.enabled

roles/devbox/tasks/dist-debian.yml file | annotate | diff | comparison | revisions
--- 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