role prerequisites: add comment to ssh key
This commit is contained in:
parent
84e5c9e560
commit
3e2b02cfd5
1 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,6 @@
|
|||
changed_when: False
|
||||
|
||||
- name: Generate SSH keys
|
||||
shell: ssh-keygen -b 4096 -t rsa -f /home/admin/.ssh/id_rsa -q -N ""
|
||||
shell: "ssh-keygen -b 4096 -t rsa -f /home/admin/.ssh/id_rsa -q -N '' -C '{{ inventory_hostname_short }}'"
|
||||
args:
|
||||
creates: /home/admin/.ssh/id_rsa
|
||||
|
|
Loading…
Reference in a new issue