dhparams variable

This commit is contained in:
Brian Lee 2023-08-11 12:24:10 -07:00
parent 5b88f82391
commit 207283570e
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
acme_path: /var/acme acme_path: /var/acme
acme_system_user: acme acme_system_user: acme
acme_system_group: acme acme_system_group: acme
nginx_config_dhparam: "/etc/ssl/dhparams.pem" nginx_config_dhparam: /etc/ssl/dhparams.pem
nginx_user: nginx nginx_user: nginx
lego_environment: lego_environment:

View File

@ -18,5 +18,5 @@
# https://docs.ansible.com/ansible/latest/collections/community/crypto/openssl_dhparam_module.html # https://docs.ansible.com/ansible/latest/collections/community/crypto/openssl_dhparam_module.html
- name: Generate Diffie-Hellman parameters with the default size (4096 bits) - name: Generate Diffie-Hellman parameters with the default size (4096 bits)
community.crypto.openssl_dhparam: community.crypto.openssl_dhparam:
path: "/etc/ssl/dhparams.pem" path: "{{ nginx_config_dhparam }}"
tags: dhparams tags: dhparams