misc/dhparams: Ensure local directory for dh params exists

dehydrated
Felix Stupp 4 years ago
parent 502444d758
commit 2b0345be62
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,5 +1,11 @@
---
- name: Ensure directory for dh params exists locally
file:
state: directory
path: "{{ dhparams_local_path | dirname }}"
delegate_to: localhost
# Generate locally because of more randomness & faster generation
- name: Generate dh params locally
command: openssl dhparam -out {{ dhparams_local_path | quote }} {{ dhparams_size }}

Loading…
Cancel
Save