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

This commit is contained in:
Les Aker 2019-03-11 15:29:39 +03:00 committed by Jack Ivanov
parent 273c7665d3
commit 9b89801b8a

View file

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