On 15.02.2018 00:08, Michael Perzel wrote:
My real use case is a patching playbook. I have a collection of servers
want to patch one at a time (serial: 1) but there are a set of
steps I only want to run once for the entire group. Then patch the
one by one. Then there is a set of commission tasks I want to run once
the entire group. If I put run once on the pre/post tasks. It still
run once per play eg once per host.
If it helps, the full context is this is a cassandra cluster. I want to
stop the repair service, patch the whole cluster 1 node at a time, then
start the repair service.
How to make this work is documented under note section of run_once.
Kai Stian Olstad
You received this message because you are subscribed to the Google Groups "Ansible
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.