mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 05:00:07 -03:30
Don't check host keys within AWX to faciliate easy re-provisioning by default.
This commit is contained in:
@@ -90,6 +90,7 @@ class RunJob(Task):
|
|||||||
env['REST_API_URL'] = settings.INTERNAL_API_URL
|
env['REST_API_URL'] = settings.INTERNAL_API_URL
|
||||||
env['REST_API_TOKEN'] = job.task_auth_token or ''
|
env['REST_API_TOKEN'] = job.task_auth_token or ''
|
||||||
env['ANSIBLE_NOCOLOR'] = '1' # Prevent output of escape sequences.
|
env['ANSIBLE_NOCOLOR'] = '1' # Prevent output of escape sequences.
|
||||||
|
env['ANSIBLE_HOST_KEY_CHECKING'] = 'False'
|
||||||
return env
|
return env
|
||||||
|
|
||||||
def build_args(self, job, **kwargs):
|
def build_args(self, job, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user