2021-12-01 19:13:34 +01:00
|
|
|
---
|
|
|
|
- import_tasks: ../includes/create_selfsigned_cert.yml
|
|
|
|
vars:
|
|
|
|
- cert_path: /etc/nginx/ssl/cert.pem
|
|
|
|
- cert_key_path: /etc/nginx/ssl/key.pem
|
2022-03-18 15:00:07 +01:00
|
|
|
- cert_key_user: nginx
|
2021-12-01 19:13:34 +01:00
|
|
|
tags: web
|
|
|
|
|
|
|
|
- name: Create DH param
|
|
|
|
command: openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
|
|
|
|
args:
|
|
|
|
creates: /etc/nginx/ssl/dhparam.pem
|
|
|
|
tags: web
|
|
|
|
|