Corrected typo / added condition
This commit is contained in:
@@ -116,7 +116,9 @@
|
||||
- name: "[CARP/primary] Wait for CARP failover to settle"
|
||||
ansible.builtin.pause:
|
||||
seconds: 30
|
||||
### Not altered ###
|
||||
when:
|
||||
- ha_role == 'primary'
|
||||
- ha_peer is defined
|
||||
|
||||
# --- Step 5: Re-verify backup peer has taken MASTER (rewritten) ---
|
||||
- name: "[CARP/primary] Re-check backup peer MASTER state after demotion"
|
||||
@@ -165,7 +167,7 @@
|
||||
ansible.builtin.pause:
|
||||
seconds: 20
|
||||
when:
|
||||
- ha_role == 'priamry'
|
||||
- ha_role == 'primary'
|
||||
- ha_peer is defined
|
||||
|
||||
- name: "[CARP/primary] Verify primary has reclaimed MASTER for all VIPs"
|
||||
|
||||
Reference in New Issue
Block a user