xoxys.ntp/tasks/main.yml
Robert Kaussow 178f441ac7
Some checks reported errors
continuous-integration/drone/push Build was killed
remove old with_first_found
2019-08-27 22:59:13 +02:00

21 lines
520 B
YAML

---
- include_vars: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "{{ ansible_lsb.id | default('') | lower }}.yml"
- "{{ ansible_os_family | lower }}.yml"
paths:
- "vars"
errors: "ignore"
- include_tasks: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "setup_{{ ansible_lsb.id | default('') | lower }}.yml"
- "setup_{{ ansible_os_family | lower }}.yml"
- "setup_default.yml"
paths:
- "tasks"