Browse Source

Merge "Make Python Interpreter option for Ansible Validation Run" into stable/victoria

stable/victoria
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
54766681f5
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      tripleoclient/v1/tripleo_validator.py

+ 8
- 0
tripleoclient/v1/tripleo_validator.py View File

@ -266,6 +266,13 @@ class TripleOValidatorRun(command.Command):
)
)
parser.add_argument(
'--python-interpreter',
action='store',
default="/usr/libexec/platform-python",
help=_("Python interpreter for Ansible execution. ")
)
extra_vars_group = parser.add_mutually_exclusive_group(required=False)
extra_vars_group.add_argument(
@ -417,6 +424,7 @@ class TripleOValidatorRun(command.Command):
validations_dir=constants.ANSIBLE_VALIDATION_DIR,
validation_name=parsed_args.validation_name,
extra_env_vars=extra_env_vars,
python_interpreter=parsed_args.python_interpreter,
quiet=quiet_mode)
except RuntimeError as e:
raise exceptions.CommandError(e)


Loading…
Cancel
Save