dhparams variable
This commit is contained in:
parent
5b88f82391
commit
207283570e
@ -2,7 +2,7 @@
|
||||
acme_path: /var/acme
|
||||
acme_system_user: acme
|
||||
acme_system_group: acme
|
||||
nginx_config_dhparam: "/etc/ssl/dhparams.pem"
|
||||
nginx_config_dhparam: /etc/ssl/dhparams.pem
|
||||
nginx_user: nginx
|
||||
|
||||
lego_environment:
|
||||
|
@ -18,5 +18,5 @@
|
||||
# https://docs.ansible.com/ansible/latest/collections/community/crypto/openssl_dhparam_module.html
|
||||
- name: Generate Diffie-Hellman parameters with the default size (4096 bits)
|
||||
community.crypto.openssl_dhparam:
|
||||
path: "/etc/ssl/dhparams.pem"
|
||||
path: "{{ nginx_config_dhparam }}"
|
||||
tags: dhparams
|
||||
|
Loading…
Reference in New Issue
Block a user