From d1b4bee1f26696ba1b7722499b6693aeaf719b31 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 2 Nov 2024 14:58:55 +0100 Subject: [PATCH] [tutorial 082] A web_address variable --- firefox/60-dns_over_https.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/firefox/60-dns_over_https.yml b/firefox/60-dns_over_https.yml index c121470..cd5be39 100644 --- a/firefox/60-dns_over_https.yml +++ b/firefox/60-dns_over_https.yml @@ -13,3 +13,13 @@ dns_over_https: # DNS over HTTPS disabled: variable: dns_over_https.enable_dns_over_https 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"