add hostkey check

This commit is contained in:
vincent 2020-03-02 21:59:21 +01:00
parent 916d3795eb
commit 72d2a5e03f

View File

@ -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