Increase the default size of the SSH key.

The default SSH key size in 2048. Increasing this to 4096 to match
current best practice guidance.
This commit is contained in:
Rob Lazzurs 2017-05-30 17:02:48 +01:00
parent d59d67f0ea
commit 3f4bf565b1

View file

@ -3,7 +3,7 @@
- name: Generate the SSH private key
shell: >
echo -e 'n' |
ssh-keygen -b 2048 -C {{ SSH_keys.comment }}
ssh-keygen -b 4096 -C {{ SSH_keys.comment }}
-t rsa -f {{ SSH_keys.private }} -q -N ""
args:
creates: "{{ SSH_keys.private }}"