add-sshkey: make the private key owner-writable
Otherwise, it is necessary to change perms to remove it later. Change-Id: I405cec0a1434a95a0a0e3b60b660cdcadc9e9b24
This commit is contained in:
parent
5f75a2d004
commit
b8b54ab701
@ -2,7 +2,7 @@
|
||||
copy:
|
||||
dest: "~/.ssh/id_rsa"
|
||||
content: "{{ ssh_key.ssh_private_key }}"
|
||||
mode: 0400
|
||||
mode: 0600
|
||||
|
||||
# To almost everyone's surprise, if your pub key is different than
|
||||
# your private, the private won't work. But it's okay for it to be
|
||||
|
Loading…
Reference in New Issue
Block a user