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
if runtask_opts:
parser.add_option('-e', '--extra-vars', dest="extra_vars", action="append",
help="set additional variables as key=value or YAML/JSON", default=[])