File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ letsencrypt:
6
6
pkgs :
7
7
- python3-certbot-apache
8
8
service : certbot.timer
9
+ # Only used for the pkg install method (use_package: true), internal var
10
+ _cli_path : /usr/bin/certbot
9
11
# Only used for the git install method (use_package: false)
10
12
cli_install_dir : /opt/letsencrypt
11
13
# Only used for the git install method (use_package: false). If you want to
Original file line number Diff line number Diff line change 5
5
6
6
{% if letsencrypt.use_package % }
7
7
# Renew checks if the cert exists and needs to be renewed
8
- {% set check_cert_cmd = ' /usr/bin/certbot renew --dry-run --no-random-sleep-on-renew --cert-name' % }
9
- {% set renew_cert_cmd = ' /usr/bin/certbot renew' % }
8
+ {% set check_cert_cmd = letsencrypt._cli_path ~ ' renew --dry-run --no-random-sleep-on-renew --cert-name' % }
9
+ {% set renew_cert_cmd = letsencrypt._cli_path ~ ' renew' % }
10
10
{% set old_check_cert_cmd_state = ' absent' % }
11
11
{% set old_renew_cert_cmd_state = ' absent' % }
12
12
{% set old_cron_state = ' absent' % }
13
- {% set create_cert_cmd = ' /usr/bin/certbot ' % }
13
+ {% set create_cert_cmd = letsencrypt._cli_path % }
14
14
15
15
{% else % }
16
16
{% set check_cert_cmd = ' /usr/local/bin/check_letsencrypt_cert.sh' % }
Original file line number Diff line number Diff line change 3
3
---
4
4
RedHat :
5
5
service : certbot-renew.timer
6
+ FreeBSD :
7
+ # Only used for the pkg install method (use_package: true), internal var
8
+ _cli_path : /usr/local/bin/certbot
You can’t perform that action at this time.
0 commit comments