Merge "Absolutize path for CIP output env"

This commit is contained in:
Zuul 2021-04-05 16:37:28 +00:00 committed by Gerrit Code Review
commit 92b341c15c
1 changed files with 2 additions and 1 deletions

View File

@ -1085,7 +1085,8 @@ class TripleOImagePrepare(command.Command):
extra_vars["debug"] = True extra_vars["debug"] = True
if parsed_args.output_env_file: if parsed_args.output_env_file:
extra_vars["output_env_file"] = parsed_args.output_env_file extra_vars["output_env_file"] = os.path.abspath(
parsed_args.output_env_file)
with oooutils.TempDirs() as tmp: with oooutils.TempDirs() as tmp:
oooutils.run_ansible_playbook( oooutils.run_ansible_playbook(