mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-09-13 17:41:10 +02:00
* Add Cloudflare support * Ensure cron install * linting * Add Redhat cron install * Update vars
16 lines
364 B
YAML
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 }}"
|