xoxys.users/tasks/main.yml

24 lines
579 B
YAML
Raw Normal View History

2019-11-03 17:19:53 +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:
- "users_{{ ansible_lsb.id | default('') | lower }}.yml"
- "users_{{ ansible_os_family | lower }}.yml"
- "users_default.yml"
paths:
- "tasks"
- include_tasks: users_keys.yml
- include_tasks: bash.yml