ansible/roles/certbot/tasks/install-from-source.yml
Salt b55b061573 Add Certbot
Obviously no example play because internal hosts can't really do that
2020-11-07 23:56:30 -06:00

18 lines
418 B
YAML

---
- name: Clone Certbot into configured directory.
git:
repo: "{{ certbot_repo }}"
dest: "{{ certbot_dir }}"
version: "{{ certbot_version }}"
update: "{{ certbot_keep_updated }}"
force: true
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_dir }}/certbot-auto"
- name: Ensure certbot-auto is executable.
file:
path: "{{ certbot_script }}"
mode: 0755