Installs certbot in nginx container
This commit is contained in:
parent
ee6e1956ce
commit
27429f0dd3
@ -28,6 +28,11 @@
|
|||||||
name: nginx
|
name: nginx
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
- name: Install Let's Encrypt certbot
|
||||||
|
apt:
|
||||||
|
name: certbot
|
||||||
|
state: latest
|
||||||
|
|
||||||
- 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