Run Ansible Playbook based on the Redundancy State.
We have two nodes in our PRODUCTION environment that are setup as active-standby pair. Generally i have to login, see the status and run the playbook manually on the device that is currently active. ...