Add source excutable variable name for source installation

This commit is contained in:
Jordan BELAY 2022-11-14 14:22:40 +01:00
parent c6297ddebb
commit 937a372799
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,6 @@ certbot_auto_renew_options: "--quiet --no-self-upgrade"
certbot_testmode: false
certbot_hsts: false
# Parameters used when creating new Certbot certs.
certbot_create_if_missing: false
certbot_create_method: standalone
@ -58,3 +57,4 @@ certbot_keep_updated: true
# Where to put Certbot when installing from source.
certbot_dir: /opt/certbot
certbot_source_executable_name: "certbot-auto"

View File

@ -9,9 +9,9 @@
- name: Set Certbot script variable.
set_fact:
certbot_script: "{{ certbot_dir }}/certbot-auto"
certbot_script: "{{ certbot_dir }}/{{ certbot_source_executable_name }}"
- name: Ensure certbot-auto is executable.
- name: Ensure certbot is executable.
file:
path: "{{ certbot_script }}"
mode: 0755