File diff 4e121413ca5c → a8ad1fdf6f60
roles/web_server/tasks/main.yml
Show inline comments
 
@@ -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
 
  notify:
 
    - Restart nginx
 

	
 
- name: Deploy configuration file for checking certificate validity via cron
 
  copy:
 
    content: "/etc/ssl/certs/{{ ansible_fqdn }}_https.pem"