From f8ae993aff36e60ec14df06516f71242ea51d7fc Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 2 Nov 2024 14:58:57 +0100 Subject: [PATCH] [tutorial 090] Variable in same family --- firefox/10-manual.yml | 2 +- firefox/20-manual.yml | 2 +- firefox/30-auto.yml | 2 +- firefox/40-no_proxy.yml | 2 +- firefox/50-prompt_authentication.yml | 2 +- firefox/55-proxy_dns_socks5.yml | 4 ++-- firefox/60-dns_over_https.yml | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/firefox/10-manual.yml b/firefox/10-manual.yml index b9b95dd..80bcc54 100644 --- a/firefox/10-manual.yml +++ b/firefox/10-manual.yml @@ -2,7 +2,7 @@ manual: description: Manual proxy configuration disabled: - variable: proxy_mode + variable: _.proxy_mode when_not: 'Manual proxy configuration' http_proxy: # HTTP Proxy diff --git a/firefox/20-manual.yml b/firefox/20-manual.yml index 53fb550..63e9f4a 100644 --- a/firefox/20-manual.yml +++ b/firefox/20-manual.yml @@ -10,7 +10,7 @@ manual: - SOCKS hidden: jinja: | - {% if my_identifier == 'HTTPS' and manual.use_for_https %} + {% if my_identifier == 'HTTPS' and _.use_for_https %} HTTPS is same has HTTP {% endif %} params: diff --git a/firefox/30-auto.yml b/firefox/30-auto.yml index 130fae0..0e45339 100644 --- a/firefox/30-auto.yml +++ b/firefox/30-auto.yml @@ -3,5 +3,5 @@ auto: description: Automatic proxy configuration URL type: web_address disabled: - variable: proxy_mode + variable: _.proxy_mode when_not: Automatic proxy configuration URL diff --git a/firefox/40-no_proxy.yml b/firefox/40-no_proxy.yml index bcb05be..d6bede6 100644 --- a/firefox/40-no_proxy.yml +++ b/firefox/40-no_proxy.yml @@ -10,7 +10,7 @@ no_proxy: multi: true mandatory: false disabled: - variable: proxy_mode + variable: _.proxy_mode when: No proxy examples: - .mozilla.org diff --git a/firefox/50-prompt_authentication.yml b/firefox/50-prompt_authentication.yml index 3ea393c..7138e22 100644 --- a/firefox/50-prompt_authentication.yml +++ b/firefox/50-prompt_authentication.yml @@ -3,5 +3,5 @@ prompt_authentication: description: Prompt for authentication if password is saved default: true disabled: - variable: proxy_mode + variable: _.proxy_mode when: No proxy diff --git a/firefox/55-proxy_dns_socks5.yml b/firefox/55-proxy_dns_socks5.yml index 469c654..0427894 100644 --- a/firefox/55-proxy_dns_socks5.yml +++ b/firefox/55-proxy_dns_socks5.yml @@ -5,9 +5,9 @@ proxy_dns_socks5: mode: advanced disabled: jinja: | - {% if manual.socks_proxy.version is propertyerror %} + {% if _.manual.socks_proxy.version is propertyerror %} the proxy mode is not manual - {% elif manual.socks_proxy.version == 'v4' %} + {% elif _.manual.socks_proxy.version == 'v4' %} socks version is v4 {% endif %} description: | diff --git a/firefox/60-dns_over_https.yml b/firefox/60-dns_over_https.yml index 0c9cc15..94c0ec2 100644 --- a/firefox/60-dns_over_https.yml +++ b/firefox/60-dns_over_https.yml @@ -11,7 +11,7 @@ dns_over_https: # DNS over HTTPS - Custom default: Cloudflare disabled: - variable: dns_over_https.enable_dns_over_https + variable: _.enable_dns_over_https when: false custom_dns_url: @@ -19,7 +19,7 @@ dns_over_https: # DNS over HTTPS type: web_address disabled: jinja: | - {% if dns_over_https.provider is propertyerror or dns_over_https.provider != 'Custom' %} + {% if _.provider is propertyerror or _.provider != 'Custom' %} provider is not custom {% endif %} description: if "dns_over_https.provider" is not "Custom"