This commit is contained in:
2022-10-29 19:43:06 -05:00
parent f748c3842f
commit 823c71f37d
6 changed files with 134 additions and 0 deletions

View 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"