ansible-role-certbot/tasks/install-with-package.yml
2019-10-03 13:28:50 +02:00

11 lines
277 B
YAML

---
- name: Install Certbot.
package: "name={{ certbot_package }} state=present"
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_package }}"
- import_tasks: install-nginx-plugin.yml
when: "certbot_auto_renew_options is search('--nginx')"