Hi,

What is the proper syntax for trying to do something like this? It works 
fine but it gives me a warning that says not to use templating delimiters.

when: "{{ customer }}.aws_cloud_formation_state == 'present'"

I have tried just doing 

when: customer.aws_cloud_formation_state == 'present'

but that just goes into the customer dictionary looking for 
aws_cloud_formation. I would like to take a variable 'customer' and use it 
as the conditional. It works fine, but what is the correct syntax for 
getting it to work without giving a warning.

Thank you!
Mark


-- 
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/ea2e1c9f-9521-427c-bace-6613d9648237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to