xoxys.postgres/tasks/main.yml
Robert Kaussow 7a3752d57b
Some checks failed
continuous-integration/drone/pr Build is failing
switch to postgres 14 as default
2022-04-03 14:53:03 +02:00

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