ansible-role-certbot/tasks/install-with-package.yml
Alberto Bengoa e0adf71570 Adding Apache's plugin support
This plugin supports issuing/renewing certificates without needing
to stop/start Apache's daemon.

This change also adds a variable to allow override default letsencrypt
config directory (/etc/letsencrypt).
2019-06-18 16:17:39 +01:00

12 lines
323 B
YAML

---
- name: Install Certbot.
package: "name={{ certbot_package }} state=present"
- name: Install Certbot Extra Packages.
package: "name={{ certbot_extra_packages }} state=present"
when: certbot_extra_packages | length > 0
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_package }}"