xoxys.postgres/tasks/main.yml

21 lines
543 B
YAML
Raw Normal View History

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