diff --git a/roles/workstation/tasks/arch.yml b/roles/workstation/tasks/archlinux.yml similarity index 95% rename from roles/workstation/tasks/arch.yml rename to roles/workstation/tasks/archlinux.yml index 645b3ab..f33a585 100644 --- a/roles/workstation/tasks/arch.yml +++ b/roles/workstation/tasks/archlinux.yml @@ -23,5 +23,5 @@ become_user: aur_builder - name: Install gnome environnement - import_tasks: gnome.yml + include_tasks: gnome.yml when: gnome_environnement diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml index 4a5016e..47947bb 100644 --- a/roles/workstation/tasks/main.yml +++ b/roles/workstation/tasks/main.yml @@ -1,7 +1,7 @@ --- # tasks file for workstation - name: Install for arch - import_tasks: arch.yml + include_tasks: "{{ ansible_os_family | lower }}.yml" - name: enable service cups systemd: