ansible-role-certbot/tasks/install-with-package.yml
2021-11-15 21:00:12 -03:00

12 lines
348 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 }}"