mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -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"
|
changed_when: "'was installed successfully' in galaxy_result.stdout"
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_FORCE_COLOR: false
|
ANSIBLE_FORCE_COLOR: false
|
||||||
|
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||||
|
|
||||||
when: roles_enabled|bool
|
when: roles_enabled|bool
|
||||||
tags:
|
tags:
|
||||||
@@ -165,6 +166,7 @@
|
|||||||
environment:
|
environment:
|
||||||
ANSIBLE_FORCE_COLOR: false
|
ANSIBLE_FORCE_COLOR: false
|
||||||
ANSIBLE_COLLECTIONS_PATHS: "{{ collections_destination }}"
|
ANSIBLE_COLLECTIONS_PATHS: "{{ collections_destination }}"
|
||||||
|
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- "ansible_version.full is version_compare('2.8', '>=')"
|
- "ansible_version.full is version_compare('2.8', '>=')"
|
||||||
|
|||||||
Reference in New Issue
Block a user