[tutorial 082] A web_address variable
This commit is contained in:
parent
b019f5ee1e
commit
d1b4bee1f2
1 changed files with 10 additions and 0 deletions
|
@ -13,3 +13,13 @@ dns_over_https: # DNS over HTTPS
|
||||||
disabled:
|
disabled:
|
||||||
variable: dns_over_https.enable_dns_over_https
|
variable: dns_over_https.enable_dns_over_https
|
||||||
when: false
|
when: false
|
||||||
|
|
||||||
|
custom_dns_url:
|
||||||
|
description: Custom DNS URL
|
||||||
|
type: web_address
|
||||||
|
disabled:
|
||||||
|
jinja: |
|
||||||
|
{% if dns_over_https.provider is propertyerror or dns_over_https.provider != 'Custom' %}
|
||||||
|
provider is not custom
|
||||||
|
{% endif %}
|
||||||
|
description: if "dns_over_https.provider" is not "Custom"
|
||||||
|
|
Loading…
Reference in a new issue