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