mirror of
https://github.com/ansible/awx.git
synced 2026-03-14 07:27:28 -02:30
disable host key checking when installing galaxy roles/collections
see: https://github.com/ansible/awx/issues/5947
This commit is contained in:
@@ -144,6 +144,7 @@
|
||||
changed_when: "'was installed successfully' in galaxy_result.stdout"
|
||||
environment:
|
||||
ANSIBLE_FORCE_COLOR: false
|
||||
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||
|
||||
when: roles_enabled|bool
|
||||
tags:
|
||||
@@ -165,6 +166,7 @@
|
||||
environment:
|
||||
ANSIBLE_FORCE_COLOR: false
|
||||
ANSIBLE_COLLECTIONS_PATHS: "{{ collections_destination }}"
|
||||
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||
|
||||
when:
|
||||
- "ansible_version.full is version_compare('2.8', '>=')"
|
||||
|
||||
Reference in New Issue
Block a user