Hi Brian,

Thanks for the tip. I actually tried changing the hyphen to an underscore, 
but no luck.

I think what's happening is that on Linux systems that aren't virtualized, 
the 'ansible_virtualization_*' facts aren't getting set at all, so the 
grouping mechanism can't handle it.

I'm thinking about submitting a patch in the 'setup' module that if it 
falls through to the end in Linux to set 'ansible_virtualization_*' to 'NA' 
like setup does for everything else it can't figure out. Then, at least, 
non-virtual machines would be grouped into the 'NA' group, which is good 
enough for my purposes.

Matt

On Monday, March 10, 2014 1:35:50 AM UTC-4, Brian Green wrote:
>
> I ran into odd issues when using group names with hyphens in them. Similar 
> situation of not using variable names with hyphens in them. Not sure if 
> this is the case but its worth mentioning.

-- 
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/032f7ede-749e-4a45-b6cc-6af360cb16e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to