mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
AWX should not record host keys in paramiko mode because it is /very/ slow.
This commit is contained in:
parent
345085a165
commit
97703d3968
@ -90,7 +90,10 @@ class RunJob(Task):
|
||||
env['REST_API_URL'] = settings.INTERNAL_API_URL
|
||||
env['REST_API_TOKEN'] = job.task_auth_token or ''
|
||||
env['ANSIBLE_NOCOLOR'] = '1' # Prevent output of escape sequences.
|
||||
# do not want AWX to ask interactive questions and want it to be friendly with reprovisioning
|
||||
env['ANSIBLE_HOST_KEY_CHECKING'] = 'False'
|
||||
# RHEL has too old of an SSH so ansible will select paramiko and this is VERY slow
|
||||
env['ANSIBLE_PARAMIKO_RECORD_HOST_KEYS'] = False
|
||||
return env
|
||||
|
||||
def build_args(self, job, **kwargs):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user