Computer Science, asked by Afxan8023, 1 year ago

Which module can be used to force a handler to run in between two tasks?

Answers

Answered by Somyasisodiya
0
If you want to force the handler to run in between the two tasks instead of at the end of the play, you need to put this between the two tasks: - meta: flush_handlers. Example taken from the ansible documentation : tasks: - shell: some tasks go here - meta: flush_handlers - shell: some other tasks.
Similar questions