mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-06-16 07:21:44 +02:00
14 lines
358 B
YAML
14 lines
358 B
YAML
---
|
|
- name: Install Certbot.
|
|
package: "name={{ certbot_package }} state=present"
|
|
|
|
- name: Install DNS Plugin - {{ certbot_dns_plugin }}.
|
|
package:
|
|
name: "python3-certbot-dns-{{ certbot_dns_plugin }}"
|
|
state: present
|
|
when: certbot_dns_plugin is defined
|
|
|
|
- name: Set Certbot script variable.
|
|
set_fact:
|
|
certbot_script: "{{ certbot_package }}"
|