From 917d87943583fc0f4de7691af2296e9a952c9ca2 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Tue, 24 Feb 2026 23:38:24 +0100 Subject: [PATCH] Fix condition for misc block in docs Variables are always defined at ansible/vars/default.yml, only look for values. --- ansible/roles/documentation/templates/documentation.md.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/documentation/templates/documentation.md.j2 b/ansible/roles/documentation/templates/documentation.md.j2 index 0bb4a179..1e732fdc 100644 --- a/ansible/roles/documentation/templates/documentation.md.j2 +++ b/ansible/roles/documentation/templates/documentation.md.j2 @@ -66,7 +66,7 @@ description: "{{ noter(project_blurb) | trim }}" {% endif %} {% if selkies_blurb is defined %} -{% include "README_SNIPPETS/SELKIES.j2" | trim %} +{% include "README_SNIPPETS/SELKIES.j2" | trim %} {% endif %} {% if readonly_supported is defined and readonly_supported %} @@ -157,7 +157,7 @@ Containers are configured using parameters passed at runtime (such as those abov {% endfor %} {% endif %} {% endif %} -{% if custom_params is defined or opt_custom_params is defined or param_usage_include_hostname or param_usage_include_mac_address or security_opt_param is defined or opt_security_opt_param is defined or (readonly_supported is defined and readonly_supported) or cap_add_param is defined or opt_cap_add_param is defined or (nonroot_supported is defined and nonroot_supported) %} +{% if custom_params is defined or opt_custom_params is defined or param_usage_include_hostname or param_usage_include_mac_address or security_opt_param or opt_security_opt_param or (readonly_supported is defined and readonly_supported) or cap_add_param or opt_cap_add_param or (nonroot_supported is defined and nonroot_supported) %} #### Miscellaneous Options