(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?
when
to run conditionally?postgres
role that I apply extension roles for PostGIS etc to.when:
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.