How can I filter a variable in a template so that I can extract a fact Trying to get the default ipv4 address from a template
template.j2 ipv4 address ((ansible_default_ipv4 | grep address}} A similar format will work via command line but not via a template. Whats the correct formatting required to do something like that via template? Thanks -- 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/05c67110-b81c-4bd0-bd3a-04007f24697c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.