Merge "Write ansible-playbook-command.sh to workdir not playbook_dir"

This commit is contained in:
Zuul 2021-02-05 08:44:55 +00:00 committed by Gerrit Code Review
commit 1750b2c3f4
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None,
if reproduce_command:
command_path = os.path.join(
playbook_dir,
workdir,
"ansible-playbook-command.sh"
)
with open(command_path, 'w') as f: