1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
This commit is contained in:
Michael DeHaan 2012-04-16 23:06:27 -04:00
parent 9ce27be878
commit 377488aa2a

View file

@ -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,