Hello, Trying to setup rolling deployments for WAS using ansible core.
My environment consists of two groups of hosts. Each group has one manager, and two nodes. The deployment process consists of running a task on manager host first, and then another tasks on every node in the group (including manager). I'd like to run the whole deployment process one group at-a-time. I was thinking about creating a top-level playbook that will loop through groups, and pass group name to each play as a parameter. Is there an easy way to accomplish this, or is there a better way of doing this? The example inventory would be: ----- snip ----- [groups] group1 group2 [group1:children] manager1 nodes1 [group2:children] manager2 nodes2 [manager1] host_m1 [manager2] host_m2 [nodes1] host_a host_b [nodes2] host_c host_d ----- snip ----- Thanks in advance. -- 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/d4730a03-2f7a-42a1-b5cf-a6f467415123%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
