ansible/roles/certbot/handlers/main.yml
Otthorn f0e3bd78c9
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
use command instead of shell when you don't need sh features (pipes, env, etc...)
2021-01-19 23:27:17 +01:00

8 lines
211 B
YAML

---
- name: Reload nginx
service:
name: nginx
state: reloaded
- name: Generate certificates
command: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"