Robert Kaussow
1edc1aae5f
All checks were successful
continuous-integration/drone/push Build is passing
33 lines
966 B
YAML
33 lines
966 B
YAML
---
|
|
- 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
|
|
- include_tasks: setup.yml
|
|
|
|
- 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
|
|
|
|
- import_tasks: tls.yml
|
|
when: ldap_proxy_tls_enabled | bool
|
|
- include_tasks: post_tasks.yml
|