The copy module needs dest instead of path

Change-Id: I797766dc8406039732d5343fa63c6bb9e4221af6
This commit is contained in:
Jens Harbott 2017-10-19 18:15:13 +00:00
parent 7128e30c65
commit 66940dc5f5
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
- name: Write out ssh key
copy:
path: "~/.ssh/id_rsa"
dest: "~/.ssh/id_rsa"
content: "{{ ssh_key.ssh_private_key }}"
mode: 0400