Hi,

I've got a dict value that is supposed to evaluate a boolean parameter like 
so:

var1: False
var2: True

my_dict:
  - {a1: "{{ var1|bool }}"}
  - {a2: "{{ var2|bool }}"} 

However the original True/False values always get evaluated as strings 
eventually, typecasting doesn't seem to be working. I'm on ansible 1.9.3. 

Output from debug

ok: [host1] => (item={'a1': u'False'})

-- 
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/101807ea-e0bb-42ae-a2be-578b18165dc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to