test
This commit is contained in:
9
roles/customize/tasks/main.yml
Normal file
9
roles/customize/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- name: Load a variable file based on the OS type
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||
- "vars/{{ ansible_os_family }}.yml"
|
||||
- "vars/defaults.yml"
|
||||
|
||||
- name:
|
||||
include_tasks: "{{ ansible_os_family }}.yml"
|
||||
Reference in New Issue
Block a user