ansible: handlers are called at the end of play and not task To make handlers forcefully execute at the end of task you can add: – meta: flush_handlers Rate this:Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading...