Corrected typo / added condition

This commit is contained in:
2026-04-28 10:09:50 -07:00
parent 85d2c49f8d
commit 96dc56b6cb

View File

@@ -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"