diff --git a/tasks/main.yml b/tasks/main.yml index 5ee5518..5a5b2c4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,8 @@ # File: roles/samba/tasks/main.yml --- -- include_vars: "{{ item }}" +- name: Include OS specific variables + include_vars: "{{ item }}" with_first_found: - "os_{{ ansible_distribution }}.yml" - "os_{{ ansible_os_family }}.yml"