From 72d2a5e03fe938445cb10f3695657fe4cef587d6 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 2 Mar 2020 21:59:21 +0100 Subject: [PATCH] add hostkey check --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index eb8ca38..24ad72a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -89,8 +89,10 @@ owner: "{{user.name}}" when: hass_repo_exist.stat.exists == false + - name: install conf file git: + accept_hostkey: yes dest: "{{hass_conf_folder}}" # required. The path of where the repository should be checked out. This parameter is required, unless C(clone) is set to C(no). repo: "{{hass_repo}}" # required. git, SSH, or HTTP(S) protocol address of the git repository. clone: yes # not required. If C(no), do not clone the repository if it does not exist locally