role prerequisites: add comment to ssh key

This commit is contained in:
Julian Labus 2018-09-12 16:23:06 +02:00
parent 84e5c9e560
commit 3e2b02cfd5
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -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