Re: [ansible-project] how to run play for subgroup when children has same name

2024-04-19 Thread Todd Lewis
Oops. That second "children:" under "kafka:" shouldn't be there. Otherwise, it's pretty close. On Friday, April 19, 2024 at 10:58:32 AM UTC-4 Todd Lewis wrote: > It appears you are trying to define two different "*broker*" groups: one > as a child of the "*dev_kafka_cluster*" and another as a

Re: [ansible-project] how to run play for subgroup when children has same name

2024-04-19 Thread Todd Lewis
It appears you are trying to define two different "*broker*" groups: one as a child of the "*dev_kafka_cluster*" and another as a child of "*qa_kafka_cluster*". That isn't how groups work. There is only one "*broker*" group. You have added hosts to the "*broker*" group in two places. (Also,

[ansible-project] how to run play for subgroup when children has same name

2024-04-19 Thread Sameer Modak
I have an inventory something like this , each main cluster has children like broker. Now how do i run any tasks against perticular group.broker. When we pass the group with --limit it does not work it runs on all broker. Also main playbook has hosts:all in it

Re: [ansible-project] how to run perticular dependency role for specific host group

2024-04-19 Thread Sameer Modak
Thanks Brian. so there is no possibility to achieve with dependencies ryt?? On Thursday, April 18, 2024 at 8:55:49 PM UTC+5:30 Brian Coca wrote: > Don't use dependencies, use include_role and make it conditional > > -- > -- > Brian Coca (he/him/yo) > > -- You received this message