From 2f477476fe6063d85b99127db570d110677e0d1d Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 2 Nov 2024 14:58:35 +0100 Subject: [PATCH] [tutorial 042] Jinja with a parameter --- firefox/20-manual.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/firefox/20-manual.yml b/firefox/20-manual.yml index 416ac75..5d2ae21 100644 --- a/firefox/20-manual.yml +++ b/firefox/20-manual.yml @@ -12,9 +12,12 @@ manual: - SOCKS hidden: jinja: | - {% if manual.use_for_https %} + {% if my_identifier == 'HTTPS' and manual.use_for_https %} HTTPS is same has HTTP {% endif %} + params: + my_identifier: + type: identifier address: description: "{{ identifier }} address"