default does not do multilevel variables, you need to have something
on each level for it to work, something like:
((ansible_eth1|default({})["ipv4"]|default({}))["address"] |
default("127.0.0.1")
--
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/CAJ5XC8mRBeRVo7o2T0apq-4E%2Bcp4bu_eurh8H7iSFzvxqg-yLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.