From c66c6c1c14b9987e1a79a5027607267419df6289 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Mon, 11 Aug 2025 08:04:33 +0100 Subject: 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. --- playbook.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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 == "" -- cgit v1.2.3