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 9b6da9175b
commit 8b5920067f

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"