mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
skip generation of SSH keypair when deploying locally (#1348)
This commit is contained in:
parent
273c7665d3
commit
9b89801b8a
1 changed files with 2 additions and 0 deletions
|
@ -31,9 +31,11 @@
|
||||||
size: 2048
|
size: 2048
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
type: RSA
|
type: RSA
|
||||||
|
when: algo_provider != "local"
|
||||||
|
|
||||||
- name: Generate the SSH public key
|
- name: Generate the SSH public key
|
||||||
openssl_publickey:
|
openssl_publickey:
|
||||||
path: "{{ SSH_keys.public }}"
|
path: "{{ SSH_keys.public }}"
|
||||||
privatekey_path: "{{ SSH_keys.private }}"
|
privatekey_path: "{{ SSH_keys.private }}"
|
||||||
format: OpenSSH
|
format: OpenSSH
|
||||||
|
when: algo_provider != "local"
|
||||||
|
|
Loading…
Add table
Reference in a new issue