Hi Everyone,
First post so bear with me please...
We're doing some work with Hazelcast  shared memory across multiple hosts.
Something will get added into the shared memory on host A and I want to 
check it exists from host B, C etc.
Sounds like a with_items loop... (do this, check this, do this, check this)
But how can I run one task on one host and another task on the other 
node(s) within a loop.
I'm thinking blocks and maybe delegate_to?
I could obvious hard code the individual steps into one big playbook 
without a loop.
But I'm looking for something elegant that would only need the do/check 
list to be updated for new items.
Any thoughts?
FYI I'm running ansible 2.1.0 on CentOS 7...
Thanks, Pete

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2336a9e5-d4b1-4010-a251-ab63b46761db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to