From 9194983c4daf6f0e16aa382bc903b6c092d08830 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 5 Jul 2018 18:02:11 +0200 Subject: Reconfigure Desktop role --- roles/desktop/tasks/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'roles/desktop/tasks/main.yml') diff --git a/roles/desktop/tasks/main.yml b/roles/desktop/tasks/main.yml index fca07c5..ba2750a 100644 --- a/roles/desktop/tasks/main.yml +++ b/roles/desktop/tasks/main.yml @@ -1,5 +1,9 @@ --- -- include: Debian.yml - when: ansible_os_family == 'Debian' -- include: RedHat.yml - when: ansible_os_family == 'RedHat' +- include_tasks: Debian.yml + when: ansible_os_family | lower == 'debian' + +- include_tasks: Fedora.yml + when: ansible_distribution | lower == 'fedora' + +- include_tasks: RedHat.yml + when: (ansible_os_family | lower == 'redhat') and (ansible_distribution | lower != 'fedora') -- cgit v1.2.3