Skip to content

Commit

Permalink
Upgrade: Add PATH environment for patronictl command
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 7, 2024
1 parent 03157f7 commit 284df6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions automation/roles/upgrade/tasks/update_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@

- name: "Remove 'standby_cluster' parameter from DCS (if exists)"
ansible.builtin.command: patronictl -c {{ patroni_config_file }} edit-config -s standby_cluster=null --force
environment:
PATH: "{{ ansible_env.PATH }}:/usr/bin:/usr/local/bin"
when: inventory_hostname in groups['primary']

# Copy the pg_hba.conf file to a new PostgreSQL to save pg_hba rules.
Expand Down

0 comments on commit 284df6a

Please sign in to comment.