Merge "Reauthenicate remotes after an upgrade to Train" into stable/train

This commit is contained in:
Zuul 2021-11-04 17:51:13 +00:00 committed by Gerrit Code Review
commit bfe00e7058
1 changed files with 5 additions and 0 deletions

View File

@ -180,3 +180,8 @@ outputs:
loop:
- pacemaker_remote_short_node_names_override
- pacemaker_remote_node_ips_override
- name: Try and reauthenticate the remote via pcsd from the core cluster
when: step|int == 1
delegate_to: "{{ groups['pacemaker'] | first }}"
shell: |
pcs host auth "{{ ansible_facts['hostname']|lower }}" -u hacluster -p $(hiera -c /etc/puppet/hiera.yaml hacluster_pwd)