So i checked again, i had misread the code it does not match class name but the declared distribution variable inside, this SHOULD match all versions of Centos.
On Fri, Nov 13, 2015 at 4:01 PM, Joanna Delaporte <[email protected]> wrote: > There's a class for 'Centos' at line 449, and another for 'Centos linux' at > line 458, if you are looking at the Hostname module. > > > On Friday, November 13, 2015 at 5:40:43 PM UTC-6, Brian Coca wrote: >> >> so from the code, this should work when ansible_distribution": >> "CentOS" but not when ansible_distribution": "CentOS Linux" >> >> -- >> Brian Coca > > -- > 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/4f9b1dac-aa95-4446-9ec7-6706de8b7c0b%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Brian Coca -- 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/CAJ5XC8nhdTFveUhJsTSdaeS85xjfK3HjPTgVSEUFeNyoUYcuhw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
