roles/nginx: Use variable for nginx_ssl_dhparam

I went years without realizing that I was hard coding the file dest
in this particular task.
This commit is contained in:
Alan Orth 2021-03-19 18:13:37 +02:00
parent 7f13c8c675
commit 65fc52c5e5
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -16,7 +16,7 @@
get_url: get_url:
url: https://raw.githubusercontent.com/internetstandards/dhe_groups/master/ffdhe4096.pem url: https://raw.githubusercontent.com/internetstandards/dhe_groups/master/ffdhe4096.pem
checksum: sha256:64852d6890ff9e62eecd1ee89c72af9af244dfef5b853bcedea3dfd7aade22b3 checksum: sha256:64852d6890ff9e62eecd1ee89c72af9af244dfef5b853bcedea3dfd7aade22b3
dest: /etc/ssl/certs/dhparam.pem dest: "{{ nginx_ssl_dhparam }}"
notify: notify:
- reload nginx - reload nginx