they are actually quite different.

None is a 'null' while  '' is an empty string, different types. They
both evaluate to False so they would be equivalent here:

when: varname

but not in the specific tests you show, if varname is None, it would
error out in the 2nd test and the empty string would not match in the
first case.

-- 
Brian Coca

-- 
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/CAJ5XC8kL_ux%3DVo%2BgrhTPujuAu5jDCEbn%2BNaZYeKr5qXWvW1LQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to