mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-20 17:21:42 +02:00
14 lines
396 B
YAML
14 lines
396 B
YAML
---
|
|
- name: Install Certbot via package.
|
|
package: "name={{ certbot_package }} state=present"
|
|
|
|
- name: Install Certbot DNS plugin via package.
|
|
package: "name=python3-certbot-dns-{{ certbot_dns_plugin }} state=present"
|
|
when:
|
|
- certbot_create_method == 'dns'
|
|
- certbot_dns_plugin is defined
|
|
|
|
- name: Set Certbot script variable.
|
|
set_fact:
|
|
certbot_script: "{{ certbot_package }}"
|