Hi All,
First of all, Happy New Year to everybody. :-)
I would like to know if it is possible to pass a variable to a filter.
I have this code that works with a predefined text:
"{{ ec2_vpc_out.subnets | get_subnets('Name', ’TheName') | first }}”
Now I need to replace the ‘TheName’ argument with a variable. E.g.:
"{{ ec2_vpc_out.subnets | get_subnets('Name', <item.name>) | first }}”
Is there a way of doing this ?
Thanks,
Gustavo Aguiar
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by
Mimecast.
For more information please visit http://www.mimecast.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].
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/2EBD9F40-133B-4B80-9C77-6F85A20CC01A%40itmethods.com.
For more options, visit https://groups.google.com/d/optout.