Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 703 Bytes
---
# Note: Since we have multiple servers for a single certificate, the actual call
# for the cert must be done manually right now. Looking for better
# automation.
- name: Download Let's Encrpt / Certbot
get_url: url=https://dl.eff.org/certbot-auto dest=/root/certbot-auto mode=0774
tags: letsencrypt
- name: Create a directory for the Let's Encrypt confirmation
file: path=/var/www/acme-challenge/ state=directory
- name: Create a directory for Diffie Hellman group.
file: path=/etc/nginx/ssl state=directory
- name: Create a Unique DH group https://weakdh.org/sysadmin.html
command: openssl dhparam -out /etc/nginx/ssl/dhparams.pem 2048 creates=/etc/nginx/ssl/dhparams.pem