mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
Add source excutable variable name for source installation
This commit is contained in:
parent
c6297ddebb
commit
937a372799
@ -9,7 +9,6 @@ certbot_auto_renew_options: "--quiet --no-self-upgrade"
|
|||||||
certbot_testmode: false
|
certbot_testmode: false
|
||||||
certbot_hsts: false
|
certbot_hsts: false
|
||||||
|
|
||||||
|
|
||||||
# Parameters used when creating new Certbot certs.
|
# Parameters used when creating new Certbot certs.
|
||||||
certbot_create_if_missing: false
|
certbot_create_if_missing: false
|
||||||
certbot_create_method: standalone
|
certbot_create_method: standalone
|
||||||
@ -58,3 +57,4 @@ certbot_keep_updated: true
|
|||||||
|
|
||||||
# Where to put Certbot when installing from source.
|
# Where to put Certbot when installing from source.
|
||||||
certbot_dir: /opt/certbot
|
certbot_dir: /opt/certbot
|
||||||
|
certbot_source_executable_name: "certbot-auto"
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
|
|
||||||
- name: Set Certbot script variable.
|
- name: Set Certbot script variable.
|
||||||
set_fact:
|
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:
|
file:
|
||||||
path: "{{ certbot_script }}"
|
path: "{{ certbot_script }}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
Loading…
x
Reference in New Issue
Block a user