Ansible Block Rescue

Опубликовано: 28 Сентябрь 2024
на канале: Red Hat Ansible Automation
1,011
38

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
https://www.redhat.com/en/technologie...

Follow Ansible on Twitter:   / ansible