roles/devbox/tasks/debian.yml

changeset 1
18da47fe753c
parent 0
f834f140ebad
child 2
515d87b4bfc4
--- a/roles/devbox/tasks/debian.yml
+++ b/roles/devbox/tasks/debian.yml
@@ -1,5 +1,6 @@
 ---
 
+# Not used here, but nice to have ready
 - name: add backports
   apt_repository:
     repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main"
@@ -40,14 +41,8 @@
   tags: packages, install
 
 
-- name: Check for lightdm.conf
+- name: Set default X session to i3
   when: with_gui
-  stat:
-    path: /etc/lightdm/lightdm.conf
-  register: lightdmconf
-
-- name: Set default X session to i3
-  when: with_gui and lightdmconf.stat.exists
   ini_file:
     dest: /etc/lightdm/lightdm.conf
     section: SeatDefaults

mercurial