xoxys.ntp/tasks/main.yml

21 lines
520 B
YAML
Raw Normal View History

2018-11-15 19:15:35 +00:00
---
2019-08-27 20:40:56 +00:00
- 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"