2020-05-15 08:34:57 +00:00
|
|
|
---
|
2022-01-26 20:00:07 +00:00
|
|
|
- include_vars: "{{ var_files }}"
|
|
|
|
vars:
|
|
|
|
var_files: "{{ lookup('first_found', params, errors='ignore') }}"
|
|
|
|
params:
|
|
|
|
files:
|
|
|
|
- "{{ ansible_lsb.id | default('') | lower }}.yml"
|
|
|
|
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version }}.yml"
|
|
|
|
- "{{ ansible_os_family | lower }}.yml"
|
|
|
|
paths:
|
|
|
|
- "vars"
|
|
|
|
when: var_files
|
|
|
|
|
2020-05-15 17:21:04 +00:00
|
|
|
- include_tasks: setup.yml
|