letsencrypt: add --expand flag to allow adding domains and getting a new cert when we add domains.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-01-08 18:58:08 +00:00
parent 915f7d93ab
commit 96dacb2042

View file

@ -1,6 +1,6 @@
- name: Generate (or renew) the certificate
delegate_to: certgetter01.phx2.fedoraproject.org
command: certbot certonly --keep -n --webroot --webroot-path /var/www/html/ -d {{','.join([site_name] + server_aliases)}}
command: certbot certonly --expand --keep -n --webroot --webroot-path /var/www/html/ -d {{','.join([site_name] + server_aliases)}}
run_once: true
register: certbot_output
check_mode: no