From 2b75d07ba856ef918480a9a4155ed1c1826d7596 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 7 Mar 2026 20:36:57 +0100 Subject: [PATCH] [tutorial v1.1_108] A variable in avanced mode --- firefox/55-proxy_dns_socks5.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/firefox/55-proxy_dns_socks5.yml b/firefox/55-proxy_dns_socks5.yml index 2dbe9d1c..0f1a65f1 100644 --- a/firefox/55-proxy_dns_socks5.yml +++ b/firefox/55-proxy_dns_socks5.yml @@ -4,12 +4,16 @@ version: 1.1 proxy_dns_socks5: description: Use proxy DNS when using SOCKS v5 + mode: advanced default: false disabled: jinja: |- - {{ _.manual.socks_proxy.version is propertyerror or _.manual.socks_proxy.version == 'v4' }} - return_type: boolean + {% if _.manual.socks_proxy.version is propertyerror %} + the proxy mode is not manual + {% elif _.manual.socks_proxy.version == 'v4' %} + socks version is v4 + {% endif %} description: |- - if "_.proxy_mode" is not "Manual proxy configuration" - or "_.manual.socks_proxy.version" is "v4" + if "firefox.proxy_mode" is not "Manual proxy configuration" + or "firefox.manual.socks_proxy.version" is "v4" ...