Merge "Move static-inventory option into parser group"
This commit is contained in:
commit
fba0312c49
|
@ -254,6 +254,18 @@ class TripleOValidatorRun(command.Command):
|
|||
" run invocation. For example: --limit \"compute-0,"
|
||||
" compute-1, compute-5\".")
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--static-inventory',
|
||||
action='store',
|
||||
default='',
|
||||
help=_(
|
||||
"Provide your own static inventory file. You can generate "
|
||||
"such an inventory calling tripleo-ansible-inventory command. "
|
||||
"Especially useful when heat service isn't available."
|
||||
)
|
||||
)
|
||||
|
||||
extra_vars_group = parser.add_mutually_exclusive_group(required=False)
|
||||
|
||||
extra_vars_group.add_argument(
|
||||
|
@ -292,17 +304,6 @@ class TripleOValidatorRun(command.Command):
|
|||
"will override the other(s)")
|
||||
)
|
||||
|
||||
extra_vars_group.add_argument(
|
||||
'--static-inventory',
|
||||
action='store',
|
||||
default='',
|
||||
help=_(
|
||||
"Provide your own static inventory file. You can generate "
|
||||
"such an inventory calling tripleo-ansible-inventory command. "
|
||||
"Especially useful when heat service isn't available."
|
||||
)
|
||||
)
|
||||
|
||||
ex_group = parser.add_mutually_exclusive_group(required=True)
|
||||
|
||||
ex_group.add_argument(
|
||||
|
|
Loading…
Reference in New Issue