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