Hello. I have three almost identical clusters of redis: three nodes, one is master, other are slaves (we are using 3.0+ clustering feature). I wrote a simple role which install redis on hosts. After that I need to setup masters and slaves, but only after redis is up and running. And I need to do this three times with different options.
If we generalize task, we'd get: setup software on all nodes, then run some scripts per node to "meet cluster nodes" with each other, because you can't do it via config file, unfortunately and repeat all process three times. How would one solve it the most ansible way without copy-paste? Thanks, Anatoly. -- 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/ce333cc6-d6a0-430b-9666-1527320605e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
