Files
DesktopAnsible/roles/customize/tasks/main.yml
2022-10-29 19:43:06 -05:00

10 lines
295 B
YAML

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