ansible-role-certbot/tasks/install-from-source-url.yml

12 lines
270 B
YAML

---
- name: Create Certbot directory
file:
path: "{{ certbot_dir }}"
state: "directory"
- name: Download Certbot into configured directory
get_url:
url: "{{ certbot_source_url }}"
dest: "{{ certbot_script }}"
force: "{{ certbot_keep_updated }}"