skip generation of SSH keypair when deploying locally

This commit is contained in:
Les Aker 2019-03-10 22:54:26 +03:00
parent 273c7665d3
commit 3e78553436

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"