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