[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
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"