I didn't see it listed in Issues, so I thought I would ask here if a recent 
discovery was actually a bug.

I'm working on some shell wrappers for the ansible-playbook and wanted to 
maintain a certain level of pedantry. It appears that ansible-playbook will 
except multiple --extra-vars options and append them to a single argv, 
which is what I expect from Python. 

In other words, this:

ansible-playbook site.yml --extra-vars "hosts='*CUS03*'" --extra-vars 
"foo=''" --extra-vars "bar='Yes'"


Is the same as this:


ansible-playbook site.yml --extra-vars "hosts='*CUS03*' foo='' bar='Yes'"


This is a good thing for me, but before I continue working on a wrapper 
that relies on this behavior, I figured I should ask around to see if this 
is actually an Issue.


Thank you,



Arthur

-- 
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/2d6e01d5-26da-48b9-9d22-3465b7622994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to