role-certbot/tasks/main.yml
Beth 1d44d8380b Add automatic certiicate renewal, fixes #1 (#3)
Reviewed-on: #3
Co-authored-by: Beth <ejparker@actcur.com>
Co-committed-by: Beth <ejparker@actcur.com>
2025-03-22 20:18:17 -05:00

13 lines
299 B
YAML

---
# tasks file for certbot
- name: install certbot
ansible.builtin.package:
name: certbot
state: present
# generate certs for new domains
- include_tasks: generate_cert.yml
loop: "{{ domains }}"
# deploy renewal script, service and timer for host
- include_tasks: deploy_renewal.yml