[FIX] Waits for 2 minutes to prevent not-found error in certbot #4
@ -40,6 +40,10 @@
|
|||||||
- python3-certbot-nginx
|
- python3-certbot-nginx
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
- name: Wait for the CNAME to get registered before requesting certificate
|
||||||
|
pause:
|
||||||
|
minutes: 2
|
||||||
|
|
||||||
- name: Request Let's Encrypt certificate
|
- name: Request Let's Encrypt certificate
|
||||||
command:
|
command:
|
||||||
cmd: 'certbot --redirect --agree-tos -m {{ email }} --hsts --nginx -n -d {{ container }}.{{ dominio }}'
|
cmd: 'certbot --redirect --agree-tos -m {{ email }} --hsts --nginx -n -d {{ container }}.{{ dominio }}'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user