9 lines
300 B
YAML
9 lines
300 B
YAML
|
---
|
||
|
- name: Load a variable file based on the OS type, or a default if not found.
|
||
|
include_vars: "{{ item }}"
|
||
|
with_first_found:
|
||
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||
|
- "{{ ansible_distribution }}.yml"
|
||
|
- "{{ ansible_os_family }}.yml"
|
||
|
- "default.yml"
|