mirror of
https://github.com/ansible/awx.git
synced 2026-04-28 21:25:25 -02:30
Merge pull request #4851 from ryanpetrello/fix-host-key-checking
improve host key checking configurability Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -33,6 +33,7 @@ class Command(BaseCommand):
|
||||
]):
|
||||
ssh_key = settings.AWX_ISOLATED_PRIVATE_KEY
|
||||
env = dict(os.environ.items())
|
||||
env['ANSIBLE_HOST_KEY_CHECKING'] = str(settings.AWX_ISOLATED_HOST_KEY_CHECKING)
|
||||
set_pythonpath(os.path.join(settings.ANSIBLE_VENV_PATH, 'lib'), env)
|
||||
res = ansible_runner.interface.run(
|
||||
private_data_dir=path,
|
||||
|
||||
Reference in New Issue
Block a user