(Related to Callbacks or hooks, and reusable series of tasks, in Ansible roles):
Does Ansible provide a way to flush notifications for just one handler?
Like meta: flush_handlers, but for a single named handler?
Or a way to fire a handler as soon as it's notified?
whento run conditionally? – Antonis Christofides Apr 28 '15 at 12:07postgresrole that I apply extension roles for PostGIS etc to. – Craig Ringer Jun 26 '15 at 01:15when:sounds like a fair option, or you'll just have to accept the eventual consistency that normal and flushed notifiers provides. You're trying to do a bunch of actions in a really specific order rather than have the machines arrive a particular state just at the end. An actual python or bash script might actually be better for you. – xddsg Jun 26 '15 at 15:37pre_tasksandpost_tasks– xddsg Jun 26 '15 at 16:40