Yes, it's intended behavior. A ":" is not valid in a Jinja2 variable name.
No, it's not documented, because it was broken before, unless you went through hostvars you couldn't get at it -- which means most people wouldn't know how to get at it. On Mon, Nov 25, 2013 at 11:11 AM, Tomasz Leśniewski <[email protected]>wrote: > Hi. > > I've found that names of NIC aliases returned by setup module has changed > in ansible 1.4: > > $ ansible --version > ansible 1.3.2 > > $ ansible foo -m setup | grep snat > "ansible_bond0:snat": { > "bond0:snat", > > $ ansible --version > ansible 1.4 (release1.4.0 2a58c2bbe3) last updated 2013/11/25 10:56:50 > (GMT +200) > > $ ansible foo -m setup | grep snat > "ansible_bond0_snat": { > "bond0_snat", > > Is that desired behavior (and documented anywhere)? > > Tomek > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
