Hi!
I have a syntax question.
When putting variable in module's parameter, you can omit it if it is 
undefined, like so:
parameter: {{ variable | default(omit) }}

But how to do the same thing with list filters where either var can be 
undefined?
parameter: {{ list1 | difference(list2) }}

How to make module work regardless of whether list1 or list2 defined or not?

-- 
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/6063c397-8636-48bb-80b6-18cd73fcf744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to