diff --git a/roles/ssh_keypairs/tasks/standalone/create_keypair.yml b/roles/ssh_keypairs/tasks/standalone/create_keypair.yml index f5944b9..299ce17 100644 --- a/roles/ssh_keypairs/tasks/standalone/create_keypair.yml +++ b/roles/ssh_keypairs/tasks/standalone/create_keypair.yml @@ -28,6 +28,8 @@ size: "{{ kp.size | default(omit) }}" type: "{{ kp.type | default(omit) }}" path: "{{ kp_dir ~ '/' ~ kp['name'] }}" + mode: "{{ kp.mode | default(omit) }}" + backend: cryptography register: kp_keys - name: Generate an OpenSSH user certificate for {{ kp['name'] }}