Curiously this syntax seems to be working. Should I change it anyway?

The problem finally seems to be that 'when' doesn't get evaluated..This is 
how is_master is set:
     is_master: "{{'-1' in inventory_hostname }}"
and gets a value of 'True' of 'False'..Does it need to be 'true' or 'false' 
to work?
It worked with this:
     when: is_master == 'True'
but i don't understand why, this code was working a few days ago and now 
it's not..

Thanks

-- 
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/9620a462-7b12-4559-b899-72e5d29bbab8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to