Robert Kaussow
52d9bd121e
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>
19 lines
549 B
YAML
19 lines
549 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"
|
|
paths:
|
|
- "vars"
|
|
when: var_files
|
|
|
|
- include_tasks: prepare.yml
|
|
- include_tasks: install.yml
|
|
- include_tasks: selinux.yml
|
|
when: ansible_selinux.status == "enabled"
|
|
- include_tasks: post_tasks.yml
|