From 8791973b50fdb813bd710116bfa8e42620f8bc12 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Tue, 24 Oct 2017 23:36:35 +0000 Subject: [PATCH] lightdm state --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index f7a8ce8..94c0b6e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,10 +29,12 @@ notify: restart lightdm - include: mainentance.yml + when: display_manager_state == 'mainentance' - name: lightdm started service: name: lightdm state: started + enabled: yes - meta: flush_handlers