Skip to content

Commit f546561

Browse files
committed
remove wal_e vars
use wal-g instead
1 parent 323ab6e commit f546561

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

roles/patroni/templates/patroni.yml.j2

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,6 @@ postgresql:
146146
{{ item.option }}: {{ item.value }}
147147
{% endfor %}
148148
{% endif %}
149-
{% if 'wal_e' in patroni_create_replica_methods %}
150-
wal_e:
151-
{% for item in wal_e %}
152-
{{ item.option }}: {{ item.value }}
153-
{% endfor %}
154-
{% endif %}
155149
{% if 'wal_g' in patroni_create_replica_methods %}
156150
wal_g:
157151
{% for item in wal_g %}

vars/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,19 +240,13 @@ patroni_cluster_bootstrap_method: "initdb" # or "wal-g", "pgbackrest"
240240
# https://patroni.readthedocs.io/en/latest/replica_bootstrap.html#building-replicas
241241
patroni_create_replica_methods:
242242
# - pgbackrest
243-
# - wal_e
244243
# - wal_g
245244
- basebackup
246245

247246
pgbackrest:
248247
- {option: "command", value: "/usr/bin/pgbackrest --stanza={{ pgbackrest_stanza }} --delta restore"}
249248
- {option: "keep_data", value: "True"}
250249
- {option: "no_params", value: "True"}
251-
wal_e:
252-
- {option: "command", value: "patroni_wale_restore"}
253-
- {option: "no_master", value: "1"}
254-
- {option: "envdir", value: "/etc/wal_e/envdir"}
255-
- {option: "use_iam", value: "1"}
256250
wal_g:
257251
- {option: "command", value: "wal-g backup-fetch {{ postgresql_data_dir }} LATEST"}
258252
- {option: "no_params", value: "True"}

0 commit comments

Comments
 (0)