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

Improve help text for extra-vars requiring @ for filename

(cherry picked from commit 1b34de89ee1d75cb7f616b5a34cd5043bf7dfd2b)
This commit is contained in:
Christopher Galtenberg 2017-05-16 18:11:12 -07:00 committed by Brian Coca
parent d79315e19e
commit 170fc42e80
2 changed files with 2 additions and 2 deletions

View file

@ -315,7 +315,7 @@ class CLI(with_metaclass(ABCMeta, object)):
action="callback", callback=CLI.unfrack_path, type='str') action="callback", callback=CLI.unfrack_path, type='str')
if runtask_opts: if runtask_opts:
parser.add_option('-e', '--extra-vars', dest="extra_vars", action="append", parser.add_option('-e', '--extra-vars', dest="extra_vars", action="append",
help="set additional variables as key=value or YAML/JSON", default=[]) help="set additional variables as key=value or YAML/JSON, if filename prepend with @", default=[])
if fork_opts: if fork_opts:
parser.add_option('-f', '--forks', dest='forks', default=C.DEFAULT_FORKS, type='int', parser.add_option('-f', '--forks', dest='forks', default=C.DEFAULT_FORKS, type='int',

View file

@ -54,7 +54,7 @@ options:
default: null default: null
extra_vars: extra_vars:
description: description:
- Extra_vars to use for the job_template. Use '@' for a file. - Extra_vars to use for the job_template. Prepend '@' if a file.
default: null default: null
limit: limit:
description: description: