aboutsummaryrefslogtreecommitdiffstats
path: root/roles/acme/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:32:37 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:33:36 +0100
commitadfb09b9e19f7a31632eab01171693cb81ec75ef (patch)
tree7b05135581ff49e7a5655ab07af7bba2ada43585 /roles/acme/templates
parent5c5b0fbf68dca224b7f92f5de0913fd684e7d3d9 (diff)
downloadrules-adfb09b9e19f7a31632eab01171693cb81ec75ef.tar.gz
refactor(roles): new variable naming standard
Diffstat (limited to 'roles/acme/templates')
-rw-r--r--roles/acme/templates/acme-client.conf.j218
1 files changed, 9 insertions, 9 deletions
diff --git a/roles/acme/templates/acme-client.conf.j2 b/roles/acme/templates/acme-client.conf.j2
index 9453cec..00c2f60 100644
--- a/roles/acme/templates/acme-client.conf.j2
+++ b/roles/acme/templates/acme-client.conf.j2
@@ -1,19 +1,19 @@
# managed by Ansible
{% import 'macros.j2' as macros with context %}
-authority {{ acme_authority_name }} {
- api url "{{ acme_authority_url }}"
- account key "{{ acme_authority_key }}"
+authority {{ acme__authority_name }} {
+ api url "{{ acme__authority_url }}"
+ account key "{{ acme__authority_key }}"
}
-{% call(h) macros.loop_valid_hosts(relayd_connected_hosts) -%}
-{% for rule in h.acme_rules %}
+{% call(h) macros.loop_valid_hosts(relayd__connected_hosts) -%}
+{% for rule in h.acme__rules %}
domain {{ rule.domain }} {
- alternative names { www.{{ rule.domain }} }
- domain key "{{ acme_keys_dir }}/{{ rule.domain }}.key"
- domain full chain certificate "{{ acme_certificates_dir }}/{{ rule.domain }}.crt"
- sign with {{ acme_authority_name }}
+ # alternative names { www.{{ rule.domain }} }
+ domain key "{{ acme__keys_dir }}/{{ rule.domain }}.key"
+ domain full chain certificate "{{ acme__certificates_dir }}/{{ rule.domain }}.crt"
+ sign with {{ acme__authority_name }}
}
{% endfor %}
{%- endcall %}
remember that computers suck.