Merge "Write ansible-playbook-command.sh to workdir not playbook_dir"
This commit is contained in:
commit
1750b2c3f4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue