mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2025-06-29 02:53:07 +00:00
add wal-g support for Debian os family
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
- name: "Include backup with WAL-G install"
|
||||
include_tasks: wal_g_install.yaml
|
||||
|
||||
- name: "Install Patroni {{ patroni_version }}"
|
||||
include_tasks: patroni_install.yaml
|
||||
tags: patroni_install
|
||||
|
11
tasks/Debian/wal_g_install.yaml
Normal file
11
tasks/Debian/wal_g_install.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
- name: Add WAL-G to patroni_create_replica_methods
|
||||
set_fact:
|
||||
patroni_create_replica_methods: "{{ patroni_create_replica_methods + [ 'wal_g' ] }}"
|
||||
when: patroni_wal_g_install
|
||||
|
||||
- name: Include WAL-G role
|
||||
ansible.builtin.include_role:
|
||||
name: wal-g
|
||||
vars:
|
||||
wal_g_pg: yes
|
||||
when: patroni_wal_g_install
|
Reference in New Issue
Block a user