xoxys.lego/templates/etc/sysconfig/lego.j2

7 lines
369 B
Plaintext
Raw Normal View History

2024-09-28 20:22:42 +00:00
#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
LEGO_SERVER="{{ lego_acme_server }}/directory"
LEGO_PATH="{{ __lego_base_dir }}/.lego"
CLOUDFLARE_DNS_API_TOKEN="{{ lego_cloudflare_api_token }}"
ARGS=--dns=cloudflare {{ '--dns.resolvers="' + lego_dns_resolvers | join(',') + '"' if lego_dns_resolvers | length > 0 else '' }} --key-type="{{ lego_key_type }}"