Replace letsencrypt_acme_sh_install with letsencrypt_acme_install.
This commit is contained in:
parent
f468a48ffa
commit
3340e8f779
|
@ -19,5 +19,5 @@
|
|||
args:
|
||||
creates: '{{ pki_dir }}/haproxy/haproxy.pem'
|
||||
|
||||
when: letsencrypt_acme_sh_install
|
||||
when: letsencrypt_acme_install
|
||||
tags: [ 'haproxy', 'letsencrypt', 'letsencrypt_acme_sh', 'haproxy_letsencrypt' ]
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
- import_tasks: haproxy-letsencrypt-acme-sh.yml
|
||||
when:
|
||||
- haproxy_letsencrypt_managed
|
||||
- letsencrypt_acme_sh_install
|
||||
- letsencrypt_acme_install
|
||||
- import_tasks: haproxy-ssl.yml
|
||||
when: haproxy_letsencrypt_managed
|
||||
|
||||
|
|
|
@ -13,9 +13,6 @@ DATE=$( date )
|
|||
echo "$DATE" >> $LE_LOG_DIR/haproxy.log
|
||||
|
||||
{% if letsencrypt_acme_install %}
|
||||
LE_ENV_FILE=/etc/default/letsencrypt
|
||||
{% endif %}
|
||||
{% if letsencrypt_acme_sh_install %}
|
||||
LE_ENV_FILE=/etc/default/acme_sh_request_env
|
||||
{% endif %}
|
||||
if [ -f "$LE_ENV_FILE" ] ; then
|
||||
|
|
Loading…
Reference in New Issue