Sorry to resurrect this old thread.
 

> ansible_eth1["ipv4"]["address"] | default("127.0.0.1")
>

I tried this and it didn't work. Is it supposed to? Is there some other way 
of using default that would work? Would it make sense to fix the default 
filter to work in this case?

Cheers,
Paul

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b78f706e-30e1-4fc0-9a86-2b19924fa7bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to