mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g.git
synced 2024-11-25 07:57:25 +00:00
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
---
|
|
- name: "Include install WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: pg.yaml
|
|
when: wal_g_pg
|
|
|
|
- name: "Include backup job with WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: backup_job.yaml
|
|
when:
|
|
- wal_g_pg
|
|
|
|
- name: "Include backup job timer with WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: backup_job_timer.yaml
|
|
when:
|
|
- wal_g_pg
|
|
- wal_g_backup_schedule is defined
|
|
- wal_g_backup_schedule | length > 0
|
|
|
|
- name: "Include backup retention job with WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: backup_retention_job.yaml
|
|
when:
|
|
- wal_g_pg
|
|
|
|
- name: "Include backup retention job timer with WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: backup_retention_job_timer.yaml
|
|
when:
|
|
- wal_g_pg
|
|
- wal_g_backup_retention_schedule is defined
|
|
- wal_g_backup_retention_schedule | length > 0
|
|
|
|
- name: "Include permanent backup job with WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: backup_permanent_job.yaml
|
|
when:
|
|
- wal_g_pg
|
|
|
|
- name: "Include permanent backup job timer with WAL-G {{ wal_g_version }} for PostgreSQL"
|
|
include_tasks: backup_permanent_job_timer.yaml
|
|
when:
|
|
- wal_g_pg
|
|
- wal_g_backup_permanent_schedule is defined
|
|
- wal_g_backup_permanent_schedule | length > 0
|