xoxys.ldap_proxy/tasks/main.yml

33 lines
966 B
YAML
Raw Normal View History

2018-12-01 00:31:11 +00:00
---
2022-02-12 12:34:44 +00:00
- include_vars: "{{ var_files }}"
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"
- default.yml
paths:
- "vars"
when: var_files
- include_tasks: overwrites.yml
2018-12-01 00:31:11 +00:00
- include_tasks: setup.yml
2022-02-12 12:34:44 +00:00
- include_tasks: "{{ task_files }}"
vars:
task_files: "{{ lookup('first_found', params, errors='ignore') }}"
params:
files:
- "setup_{{ ansible_lsb.id | default('') | lower }}.yml"
- "setup_{{ ansible_os_family | lower }}{{ ansible_distribution_major_version }}.yml"
- "setup_{{ ansible_os_family | lower }}.yml"
paths:
- "tasks"
when: task_files
2018-12-01 00:31:11 +00:00
- import_tasks: tls.yml
2019-09-18 19:17:52 +00:00
when: ldap_proxy_tls_enabled | bool
2018-12-01 00:31:11 +00:00
- include_tasks: post_tasks.yml