I got this working.
When :
- " var + '-'+var2 +'-'+item "
I have another problem now.
Please assist.
I have inventory variables like below :
[Grp1]
Host1 dblist='["sar","Cor",...]
Host2 dblist='["db1","DB2","db3",...]'
#dblist for every host is huge like some 20 items.
Now for every
What's the right way of using jinja2 in when statement .
I basically have a condition to check if something like below exists in
stdout of perious results.
When :
_ ' {{ var1 }}-{{ var2}}-{{ item }}-{{ var3 }} in prev_results.stdout'
Jinja isn't allowed in when.
The above variables are