Is this expected behavior?

% ANSIBLE_JINJA2_NATIVE=true ansible -i localhost, localhost -m debug -a 
var=this -e "this='None'"

localhost | SUCCESS => {

    "this": null

}


% ANSIBLE_JINJA2_NATIVE=false ansible -i localhost, localhost -m debug -a 
var=this -e "this='None'"

localhost | SUCCESS => {

    "this": "None"

}


Just making sure that jinja2_native=True should convert a string value of 
"None" to value null when evaluated.

Walter
--
Walter Rowe, Division Chief
Infrastructure Services Division
Mobile: 202.355.4123

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2BA2FDC8-1CA3-4C93-B702-FA5F0B77248B%40nist.gov.

Reply via email to