diff --git a/tasks/main.yml b/tasks/main.yml index 98b1ab8..5c641b5 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"