Skip to content

Commit

Permalink
remove wal_e vars
Browse files Browse the repository at this point in the history
use wal-g instead
  • Loading branch information
vitabaks committed Mar 5, 2021
1 parent 323ab6e commit f546561
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions roles/patroni/templates/patroni.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ postgresql:
{{ item.option }}: {{ item.value }}
{% endfor %}
{% endif %}
{% if 'wal_e' in patroni_create_replica_methods %}
wal_e:
{% for item in wal_e %}
{{ item.option }}: {{ item.value }}
{% endfor %}
{% endif %}
{% if 'wal_g' in patroni_create_replica_methods %}
wal_g:
{% for item in wal_g %}
Expand Down
6 changes: 0 additions & 6 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,13 @@ patroni_cluster_bootstrap_method: "initdb" # or "wal-g", "pgbackrest"
# https://patroni.readthedocs.io/en/latest/replica_bootstrap.html#building-replicas
patroni_create_replica_methods:
# - pgbackrest
# - wal_e
# - wal_g
- basebackup

pgbackrest:
- {option: "command", value: "/usr/bin/pgbackrest --stanza={{ pgbackrest_stanza }} --delta restore"}
- {option: "keep_data", value: "True"}
- {option: "no_params", value: "True"}
wal_e:
- {option: "command", value: "patroni_wale_restore"}
- {option: "no_master", value: "1"}
- {option: "envdir", value: "/etc/wal_e/envdir"}
- {option: "use_iam", value: "1"}
wal_g:
- {option: "command", value: "wal-g backup-fetch {{ postgresql_data_dir }} LATEST"}
- {option: "no_params", value: "True"}
Expand Down

0 comments on commit f546561

Please sign in to comment.