skip generation of SSH keypair when deploying locally (#1348)

pull/1350/head
Les Aker 5 years ago committed by Jack Ivanov
parent 273c7665d3
commit 9b89801b8a

@ -31,9 +31,11 @@
size: 2048
mode: "0600"
type: RSA
when: algo_provider != "local"
- name: Generate the SSH public key
openssl_publickey:
path: "{{ SSH_keys.public }}"
privatekey_path: "{{ SSH_keys.private }}"
format: OpenSSH
when: algo_provider != "local"

Loading…
Cancel
Save