Skip to content

Commit 5a125db

Browse files
alacukupoiana
authored andcommitted
new(git-repos): accept new host keys when fetching git repos
Signed-off-by: Aldo Lacuku <[email protected]>
1 parent 6e581c7 commit 5a125db

File tree

1 file changed

+1
-0
lines changed
  • ansible-playbooks/roles/git_repos/tasks

1 file changed

+1
-0
lines changed

ansible-playbooks/roles/git_repos/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
version: "{{ item.value.version | default(omit) }}"
88
refspec: "{{ item.value.refspec | default(omit) }}"
99
dest: "{{ local_repos_folder }}/{{ item.value.name | mandatory }}"
10+
accept_newhostkey: true
1011
with_dict: "{{ repos }}"
1112
delegate_to: localhost
1213
run_once: true

0 commit comments

Comments
 (0)