@@ -33,6 +33,16 @@
notify:
- Restart nginx
- name: Generate the HTTPS server Diffie-Helman parameter
openssl_dhparam:
owner: root
group: root
mode: 0640
path: "/etc/ssl/private/{{ ansible_fqdn }}_https.dh.pem"
size: 2048
- name: Deploy configuration file for checking certificate validity via cron
copy:
content: "/etc/ssl/certs/{{ ansible_fqdn }}_https.pem"