mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-20 09:11:43 +02:00
16 lines
404 B
YAML
16 lines
404 B
YAML
---
|
|
- name: Set Certbot script variable.
|
|
set_fact:
|
|
certbot_script: "{{ certbot_dir }}/certbot-auto"
|
|
|
|
- import_tasks: 'install-from-source-git.yml'
|
|
when: certbot_install_from_source_method == 'git'
|
|
|
|
- import_tasks: 'install-from-source-url.yml'
|
|
when: certbot_install_from_source_method == 'url'
|
|
|
|
- name: Ensure certbot-auto is executable.
|
|
file:
|
|
path: "{{ certbot_script }}"
|
|
mode: 0755
|