21 lines
543 B
YAML
21 lines
543 B
YAML
---
|
|
- import_tasks: prepare.yml
|
|
|
|
- include_tasks: "{{ task_files }}"
|
|
vars:
|
|
task_files: "{{ lookup('first_found', params, errors='ignore') }}"
|
|
params:
|
|
files:
|
|
- "prepare_{{ ansible_os_family | lower }}_{{ ansible_distribution_major_version }}.yml"
|
|
- "prepare_{{ ansible_os_family | lower }}.yml"
|
|
paths:
|
|
- "tasks"
|
|
when: task_files
|
|
|
|
- import_tasks: install.yml
|
|
- import_tasks: config.yml
|
|
- import_tasks: tls.yml
|
|
when: postgres_tls_enabled | bool
|
|
tags: tls_renewal
|
|
- import_tasks: post_tasks.yml
|