This commit is contained in:
Alex Ross 2017-04-16 14:18:15 +00:00 committed by GitHub
commit 9d752ee49e

View file

@ -53,6 +53,9 @@
ssh-keyscan {{ IP_subject_alt_name }} 2>/dev/null
register: ssh_fingerprints
- name: Ensure root .ssh directory exists
file: path=/root/.ssh state=directory mode=0700
- name: The known_hosts file created
template: src=known_hosts.j2 dest=/root/.ssh/{{ IP_subject_alt_name }}_known_hosts