forked from infra/ansible
Only create DH param file when using ssl.
This commit is contained in:
parent
8aa3a6c806
commit
3b1ab3877d
@ -22,6 +22,7 @@
|
||||
|
||||
- name: Create DH parameters
|
||||
command: openssl dhparam -outform PEM -out {{ item }} 2048 creates={{ item }}
|
||||
when: nginx_ssl == True
|
||||
with_items:
|
||||
- /etc/nginx/dhparam.pem
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user