xoxys.ntp/tasks/main.yml

25 lines
617 B
YAML
Raw Normal View History

2018-11-15 19:15:35 +00:00
---
2018-11-19 22:57:57 +00:00
- include_vars: "{{ item }}"
with_first_found:
- "os_{{ ansible_os_family | lower }}.yml"
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"