Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Oct 2, 2024
1 parent 5bac0cd commit a41ca81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions automation/roles/patroni/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,7 @@

- name: Waiting for PostgreSQL Recovery to complete (WAL apply)
ansible.builtin.command: >-
{{ postgresql_bin_dir }}/psql -p {{ postgresql_port }} -U {{ patroni_superuser_username }} -d postgres -tAXc
"select pg_is_in_recovery()"
{{ postgresql_bin_dir }}/psql -p {{ postgresql_port }} -U {{ patroni_superuser_username }} -d postgres -tAXc "select pg_is_in_recovery()"
register: pg_is_in_recovery
until: pg_is_in_recovery.stdout == "f"
retries: "{{ (cluster_restore_timeout | default(86400)) | int // 30 }}" # timeout 24 hours
Expand Down

0 comments on commit a41ca81

Please sign in to comment.