2018-11-15 22:42:58 +00:00
|
|
|
---
|
2024-02-18 12:10:59 +00:00
|
|
|
- ansible.builtin.include_vars: "{{ var_files }}"
|
2022-01-26 21:51:08 +00:00
|
|
|
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
|
2024-02-18 12:10:59 +00:00
|
|
|
- ansible.builtin.include_tasks: overwrites.yml
|
|
|
|
- ansible.builtin.include_tasks: setup.yml
|