Merge "Use copy instead of file for add-sshkey task"

This commit is contained in:
Zuul 2017-10-19 17:58:05 +00:00 committed by Gerrit Code Review
commit 7128e30c65

View File

@ -1,7 +1,8 @@
- name: Write out ssh key
file:
copy:
path: "~/.ssh/id_rsa"
content: "{{ ssh_key.ssh_private_key }}"
mode: 0400
- name: Add host key information to known hosts
known_hosts: