Merge "Set scp_if_ssh to True in ansible client configuration"

This commit is contained in:
Zuul 2020-04-04 01:01:23 +00:00 committed by Gerrit Code Review
commit e89836d2d6
1 changed files with 1 additions and 0 deletions

View File

@ -412,6 +412,7 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None,
env['ANSIBLE_GATHER_TIMEOUT'] = 45
env['ANSIBLE_SSH_RETRIES'] = 3
env['ANSIBLE_PIPELINING'] = True
env['ANSIBLE_SCP_IF_SSH'] = True
env['ANSIBLE_REMOTE_USER'] = ssh_user
env['ANSIBLE_STDOUT_CALLBACK'] = output_callback
env['ANSIBLE_LIBRARY'] = os.path.expanduser(