ansible/roles/certbot/handlers/main.yml

9 lines
211 B
YAML
Raw Normal View History

2021-01-19 23:19:25 +01:00
---
- name: Reload nginx
service:
name: nginx
state: reloaded
- name: Generate certificates
command: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"