summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-08-11 08:04:33 +0100
committerMatthew Fennell <matthew@fennell.dev>2025-08-11 08:04:33 +0100
commitc66c6c1c14b9987e1a79a5027607267419df6289 (patch)
tree259c7f83c495b869168318edfd9107142a06b799
parent0a16c9cd4ac6849e638643f6e8fbfd5fafc2a697 (diff)
Add whitespace between variable definitions
It is useful to jump to diferent variables using the {} keys in vim, and the rest of the playbook has similar whitespace.
-rw-r--r--playbook.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/playbook.yaml b/playbook.yaml
index 3ecdf4c..39e6e82 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -451,22 +451,28 @@
become: true
vars:
+
domain_keys: >-
{{- domain.json["keys"]
| map(attribute='ds')
| flatten
| select("search", " 13 2 ") -}}
+
parent_host: "{{ virtual_host.split('.')[1:] | join('.') }}"
+
domain_with_ds: >-
{{- parent_domain.json
| map(attribute='name')
| first
| default("") -}}
+
ds_subname: "{{ virtual_host | regex_replace('.' + domain_with_ds, '') }}"
+
delegate_host: >-
{{- virtual_host
if delegate_prefix == ""
else delegate_prefix + "." + virtual_host -}}
+
tlsa_appended_subdomain: >-
{{- ""
if delegate_prefix == ""