xoxys.unifi/tasks/main.yml
Robert Kaussow c210760e42
All checks were successful
continuous-integration/drone/push Build is passing
feat: add test for Rocky Linux 8 (#1)
2022-02-12 13:53:03 +01:00

20 lines
538 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
- import_tasks: prepare.yml
- import_tasks: install.yml
- import_tasks: tls.yml
when: unifi_tls_enabled
tags: tls_renewal
- include_tasks: post.yml