[tutorial v1.1_132] A Jinja conditional disabled boolean variable
This commit is contained in:
parent
db34f89129
commit
02e99b4735
1 changed files with 15 additions and 0 deletions
15
firefox/55-proxy_dns_socks5.yml
Normal file
15
firefox/55-proxy_dns_socks5.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
version: 1.1
|
||||||
|
|
||||||
|
proxy_dns_socks5:
|
||||||
|
description: Use proxy DNS when using SOCKS v5
|
||||||
|
default: false
|
||||||
|
disabled:
|
||||||
|
jinja: |-
|
||||||
|
{{ _.proxy_mode != "Manual proxy configuration" or _.manual.socks_proxy.version == 'v4' }}
|
||||||
|
return_type: boolean
|
||||||
|
description: |-
|
||||||
|
if "_.proxy_mode" is not "Manual proxy configuration"
|
||||||
|
or "_.manual.socks_proxy.version" is "v4"
|
||||||
|
...
|
||||||
Loading…
Reference in a new issue