The copy module needs dest instead of path
Change-Id: I797766dc8406039732d5343fa63c6bb9e4221af6
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
- name: Write out ssh key
|
- name: Write out ssh key
|
||||||
copy:
|
copy:
|
||||||
path: "~/.ssh/id_rsa"
|
dest: "~/.ssh/id_rsa"
|
||||||
content: "{{ ssh_key.ssh_private_key }}"
|
content: "{{ ssh_key.ssh_private_key }}"
|
||||||
mode: 0400
|
mode: 0400
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user