Commit 377488aa by Michael DeHaan

remove --extra-vars since the new YAML inventory stuff wasn't quite using it as…

remove --extra-vars since the new YAML inventory stuff wasn't quite using it as designed and it is getting hard to follow
with that and SETUP_CACHE etc
parent 9ce27be8
......@@ -34,8 +34,6 @@ def main(args):
# create parser for CLI options
usage = "%prog playbook.yml"
parser = utils.base_parser(constants=C, usage=usage, connect_opts=True, runas_opts=True)
parser.add_option('-e', '--extra-vars', dest='extra_vars',
help='arguments to pass to the inventory script')
parser.add_option('-O', '--override-hosts', dest="override_hosts", default=None,
help="run playbook against these hosts regardless of inventory settings")
......@@ -67,7 +65,6 @@ def main(args):
module_path=options.module_path,
host_list=options.inventory,
override_hosts=override_hosts,
extra_vars=options.extra_vars,
forks=options.forks,
debug=options.debug,
verbose=True,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment