fix cloudflare token env
This commit is contained in:
parent
1a9280fb2e
commit
183f770fce
@ -51,7 +51,7 @@
|
||||
environment:
|
||||
LEGO_SERVER: "{{ lego_acme_server }}/directory"
|
||||
LEGO_PATH: "{{ __lego_base_dir }}/.lego"
|
||||
CLOUDFLARE_API_TOKEN: "{{ lego_cloudflare_api_token }}"
|
||||
CLOUDFLARE_DNS_API_TOKEN: "{{ lego_cloudflare_api_token }}"
|
||||
when: not item.skip_create | default(False) | bool
|
||||
loop: "{{ lego_certificates }}"
|
||||
loop_control:
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
export LEGO_SERVER="{{ lego_acme_server }}/directory"
|
||||
export LEGO_PATH="{{ __lego_base_dir }}/.lego"
|
||||
export CLOUDFLARE_API_TOKEN="{{ lego_cloudflare_api_token }}"
|
||||
export CLOUDFLARE_DNS_API_TOKEN="{{ lego_cloudflare_api_token }}"
|
||||
|
||||
{% for cert in lego_certificates %}
|
||||
echo "$(date) checking for cert update for {{ ', '.join(cert.domains) }}."
|
||||
|
Loading…
Reference in New Issue
Block a user