Hello.

I have added a feature to my fork that allows a task file to be shared by a 
block and a rescue but to run the tasks in reverse order in rescue to 
achieve an undo. 

I did this because it was a great exercise to study Ansible and the Python 
code that makes it work, and maybe the feature is useful.

The feature modifies include_tasks to allow optional parameter "reverse: 
True"

More details and examples can be found a Gist I wrote at 
https://gist.github.com/TimEisler/c4c5e49d7c05a60c92527a60866c3abd to 
describe it.

Is this something that is of interest to you, maintainers?

Thanks
Tim Eisler

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/9fa01ce3-9890-479f-b0d4-89b895217819n%40googlegroups.com.

Reply via email to