Hello.
- block:
- fail: msg=fail
rescue:
- debug: msg=rescue
always:
- debug: msg=always
- debug: msg=after-block
Seems rescue block bring node back into health state and continue execution
of tasks, so after-block debug is executed (tested with ansible 2.1 RC4).
If I add fail task inside rescue – it will stop execution after always task.
Is it supposed behavior?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f77a09ff-4fb1-43a6-a616-e20f35f09845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.