ansible-role-certbot/tasks/install-with-package.yml
Simon Caron d408884f18
Add Cloudflare DNS-01 Challenge
* Add Cloudflare support

* Ensure cron install

* linting

* Add Redhat cron install

* Update vars
2025-08-19 20:56:49 -04:00

16 lines
364 B
YAML

---
- name: Install Certbot.
package:
name: "{{ certbot_package }}"
state: present
- name: Install Certbot Cloudflare DNS plugin.
package:
name: "{{ certbot_dns_cloudflare_package }}"
state: present
when: certbot_create_method == 'dns-cloudflare'
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_package }}"