Use conditionnal in map filter using item list variable #2011
Unanswered
Fabiosilvero
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to make the default value for the map() filter dynamic like this (with ansible 2.15) :
The conditionnal works with a
if true
but I can't find the iterator variable likeitem
for this function.The error I'm facing :
My environment :
What am I missing here ?
Beta Was this translation helpful? Give feedback.
All reactions