Files
docker-registry/provisioning/roles/registry/tasks/add_certbot_hook.yml
2023-12-08 21:53:09 +03:00

6 lines
172 B
YAML

---
- name: Add Certbot hook
lineinfile:
path: /etc/letsencrypt/cli.ini
line: "post-hook = /bin/sh -c 'cd /home/deploy/registry && docker-compose restart nginx'"