Hi I have a requirement to run the set of rules per group completely in
silo and then consider next group of servers to run the same set of roles.
e.g.
my hosts file
[db1]
1.2.3.4
5.6.7.8
[db2]
11.22.33.44
55.66.77.88
[groupDB:children]
db1
db2
My playbook -
- hosts: groupDB
roles:
- step1
- step2
What I want is to run step1, step2 for db1 for once and then run
step1,step2 for db2 ..either parallely or serially - that doesnt matter.
But in actual what happens is it runs step1 for each of the 4 nodes in
db1,db2 then goes to step2.
Can you please suggest a solution to this?
Thx
Trupti
--
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/d9c0932d-b985-43b5-b76b-d48076e330c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.