From 5b58d38317a671a88a3e0d5de44cf0002c0250c4 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 9 Nov 2025 19:31:21 +0100 Subject: [PATCH] [tutorial v1.1_052] Jinja with a parameter --- firefox/20-manual.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/firefox/20-manual.yml b/firefox/20-manual.yml index ae857ce9..ac200904 100644 --- a/firefox/20-manual.yml +++ b/firefox/20-manual.yml @@ -9,7 +9,13 @@ manual: '{{ identifier }}_proxy': description: '{{ identifier }} Proxy' hidden: - variable: _.use_for_https + jinja: |- + {% if my_identifier == 'HTTPS' and _.use_for_https %} + HTTPS is same has HTTP + {% endif %} + params: + my_identifier: + type: identifier dynamic: - HTTPS - SOCKS @@ -23,14 +29,4 @@ manual: description: '{{ identifier }} port' default: variable: __.http_proxy.port - - version: - description: SOCKS host version used by proxy - choices: - - v4 - - v5 - default: v5 - disabled: - type: identifier - when: HTTPS ...