mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Switch to disabling sftp batch instead of scp
For ad-hoc jobs where we are experiencing issues related to disabling control persist to support proot. See commit f69846e7871cae41b19ecda33563d6365dc9c3e0 for earlier analysis
This commit is contained in:
parent
1faf3cceb8
commit
a79c53bb17
@ -1541,7 +1541,7 @@ class RunAdHocCommand(BaseTask):
|
||||
env['REST_API_URL'] = settings.INTERNAL_API_URL
|
||||
env['REST_API_TOKEN'] = ad_hoc_command.task_auth_token or ''
|
||||
env['CALLBACK_CONSUMER_PORT'] = str(settings.CALLBACK_CONSUMER_PORT)
|
||||
env['ANSIBLE_SCP_IF_SSH'] = "True"
|
||||
env['ANSIBLE_SFTP_BATCH_MODE'] = 'False'
|
||||
if getattr(settings, 'JOB_CALLBACK_DEBUG', False):
|
||||
env['JOB_CALLBACK_DEBUG'] = '2'
|
||||
elif settings.DEBUG:
|
||||
|
Loading…
Reference in New Issue
Block a user