Рет қаралды 728
Rescue blocks specify tasks to run when an earlier task in a block fails. This approach is similar to exception handling in many programming languages. Ansible only runs rescue blocks after a task returns a ‘failed’ state. Bad task definitions and unreachable hosts will not trigger the rescue block.
Learn more about Ansible Automation Platform
www.redhat.com/en/technologie...
Follow Ansible on Twitter: / ansible