Merge "Change validations log_path parameter"

This commit is contained in:
Zuul 2022-04-12 19:37:19 +00:00 committed by Gerrit Code Review
commit 849951e988
1 changed files with 1 additions and 2 deletions

View File

@ -92,10 +92,9 @@ def _run_validations(upgrade=False):
playbook_args = constants.DEPLOY_ANSIBLE_ACTIONS['preflight-deploy']
with utils.TempDirs() as tmp:
actions = ValidationActions()
actions = ValidationActions(log_path=tmp)
actions.run_validations(
inventory='undercloud',
log_path=tmp,
validations_dir=constants.ANSIBLE_VALIDATION_DIR,
validation_name=playbook_args['playbooks'])