diff options
Diffstat (limited to 'roles/workstation/tasks')
-rw-r--r-- | roles/workstation/tasks/main.yml | 3 | ||||
-rw-r--r-- | roles/workstation/tasks/pkgs.yml | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml index 87f6188..0e4a9c2 100644 --- a/roles/workstation/tasks/main.yml +++ b/roles/workstation/tasks/main.yml @@ -1,3 +1,6 @@ +- name: include specific distribution variables + include_vars: "os_{{ ansible_distribution | lower }}.yml" + - name: include packages tags: always include_tasks: diff --git a/roles/workstation/tasks/pkgs.yml b/roles/workstation/tasks/pkgs.yml index fd8a65a..f4f2f44 100644 --- a/roles/workstation/tasks/pkgs.yml +++ b/roles/workstation/tasks/pkgs.yml @@ -3,5 +3,5 @@ name: "{{ item }}" state: present loop: - - "{{ workstation_pkgs['common'] }}" - - "{{ workstation_pkgs[ansible_distribution | lower] }}" + - "{{ workstation_pkgs_common }}" + - "{{ workstation_pkgs }}" |