Browse Source

Remove playbook param from tripleo_validator.py

This param is not present anymore in validation-libs

(cherry picked from commit 5e68a6d1c6)
Change-Id: I5efd8bafc8062fc13c70d8b2ed090a8e2aefa9b6
changes/10/750210/1
Mathieu Bultel 1 month ago
parent
commit
27873c9174
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      tripleoclient/v1/tripleo_validator.py

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

@@ -238,14 +238,6 @@ class TripleOValidatorRun(command.Command):
" run invocation. For example: --limit \"compute-0,"
" compute-1, compute-5\".")
)
parser.add_argument('--playbook',
nargs="*",
default=None,
help=_("List of Ansible playbook to use for "
"validations. It could be a playbook path "
"or a list of playbook.")
)

extra_vars_group = parser.add_mutually_exclusive_group(required=False)

extra_vars_group.add_argument(
@@ -314,7 +306,6 @@ class TripleOValidatorRun(command.Command):
def _run_validator_run(self, parsed_args):
LOG = logging.getLogger(__name__ + ".ValidationsRunAnsible")
limit = parsed_args.limit
playbook = parsed_args.playbook
extra_vars = parsed_args.extra_vars
if parsed_args.extra_vars_file:
with open(parsed_args.extra_vars_file, 'r') as env_file:
@@ -333,7 +324,6 @@ class TripleOValidatorRun(command.Command):
DEFAULT_VALIDATIONS_BASEDIR
actions = ValidationActions()
results = actions.run_validations(
playbook=(playbook if playbook else []),
inventory=static_inventory,
limit_hosts=limit,
group=parsed_args.group,


Loading…
Cancel
Save