[tutorial 042] Jinja with a parameter

This commit is contained in:
egarette@silique.fr 2024-11-02 14:58:35 +01:00
parent 69a4013c97
commit 2f477476fe

View file

@ -12,9 +12,12 @@ manual:
- SOCKS - SOCKS
hidden: hidden:
jinja: | jinja: |
{% if manual.use_for_https %} {% if my_identifier == 'HTTPS' and manual.use_for_https %}
HTTPS is same has HTTP HTTPS is same has HTTP
{% endif %} {% endif %}
params:
my_identifier:
type: identifier
address: address:
description: "{{ identifier }} address" description: "{{ identifier }} address"