No worries. Thanks for finding that; I'll have to get more familiar with the source.
On Wednesday, January 8, 2014 1:02:57 PM UTC-6, James Tanner wrote: > > err, ignore that last sentence, you were correct. I'm cross-eyed from > looking at code all day > > > On Wed, Jan 8, 2014 at 2:01 PM, James Tanner <[email protected]<javascript:> > > wrote: > >> The logic in question is here: >> https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/action_plugins/group_by.py#L90-L92 >> >> "I'd assume the hosts that matched the group_by and weren't already in >> the group just get added to the group?" >> >> More like: "the group is added to the host" based on the code >> >> >> On Wed, Jan 8, 2014 at 1:31 PM, Mark Casey <[email protected]<javascript:> >> > wrote: >> >>> If you use group_by but the resulting group name already exists in your >>> inventory, what happens? I'd assume the hosts that matched the group_by and >>> weren't already in the group just get added to the group? >>> >>> If necessary I don't mind setting up a few VMs and testing it but I >>> thought I'd see if anyone knew off the top of their head. >>> >>> Thank you, >>> Mark >>> >>> -- >>> 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] <javascript:>. >>> To post to this group, send email to >>> [email protected]<javascript:> >>> . >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
