xoxys.postgres/tasks/main.yml

21 lines
543 B
YAML
Raw Normal View History

2018-10-14 21:17:40 +00:00
---
- import_tasks: prepare.yml
2022-04-04 19:51:15 +00:00
- 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
2018-10-14 21:17:40 +00:00
- import_tasks: install.yml
2018-10-16 18:53:36 +00:00
- import_tasks: config.yml
2018-10-16 21:05:15 +00:00
- import_tasks: tls.yml
2019-06-10 13:34:06 +00:00
when: postgres_tls_enabled | bool
2018-10-16 21:05:15 +00:00
tags: tls_renewal
2018-10-15 22:07:17 +00:00
- import_tasks: post_tasks.yml