My real use case is a patching playbook. I have a collection of servers I 
want to patch one at a time (serial: 1) but there are a set of decommision 
steps I only want to run once for the entire group. Then patch the servers 
one by one. Then there is a set of commission tasks I want to run once for 
the entire group. If I put run once on the pre/post tasks. It still gets 
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.

On Wednesday, February 14, 2018 at 4:34:50 PM UTC-6, Brian Coca wrote:
>
> you want run_once, not serial 
>
>
>
>
> -- 
> ---------- 
> Brian Coca 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/baf86475-f5b3-4ae1-bc0e-f71f1a8658c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to