2018-07-08 16:50:35 +00:00
|
|
|
---
|
2022-02-12 12:53:03 +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"
|
|
|
|
paths:
|
|
|
|
- "vars"
|
|
|
|
when: var_files
|
|
|
|
|
2018-09-22 12:45:51 +00:00
|
|
|
- import_tasks: prepare.yml
|
|
|
|
- import_tasks: install.yml
|
|
|
|
- import_tasks: tls.yml
|
2018-08-14 19:02:18 +00:00
|
|
|
when: unifi_tls_enabled
|
2018-10-13 16:02:39 +00:00
|
|
|
tags: tls_renewal
|
2019-08-04 20:31:25 +00:00
|
|
|
- include_tasks: post.yml
|