I have three IPs (machines) listed in the inventory file.
I have to run the playbook in all the 3 mchines.
For eg., Lets consider I am deploying the application in all the 3 machines.
When the deployment fails in any of the machines it has to revert back the operations in all the 3 machines/(or to the machines where the deployment is completed) eventhough it is successfully deployed.
I have the revert_back playbook written seperately.
Is there any way in ansible to achieve this requirement?
It will be helpful for me if anyone could guide me in achieving this requirement.