Ansible Role - Certbot (for Let's Encrypt)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-role-certbot/tasks/install-from-source.yml

18 lines
466 B

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