alpine: assume one DNS name per host
Avoid needless complexity.
This commit is contained in:
parent
393614aa79
commit
38c3464279
5 changed files with 12 additions and 22 deletions
|
@ -26,9 +26,8 @@
|
|||
|
||||
- name: Get LE certificate
|
||||
command:
|
||||
cmd: certbot certonly --non-interactive --agree-tos --register-unsafely-without-email --webroot --webroot-path /srv/http -d {{ item }}
|
||||
creates: '/etc/letsencrypt/renewal/{{ item }}.conf'
|
||||
loop: '{{ fqdns }}'
|
||||
cmd: certbot certonly --non-interactive --agree-tos --register-unsafely-without-email --webroot --webroot-path /srv/http -d {{ dns_name }}
|
||||
creates: '/etc/letsencrypt/renewal/{{ dns_name }}.conf'
|
||||
|
||||
- name: Enable certbot renewal
|
||||
cron:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue