summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/pihole/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/pihole/tasks/main.yml b/roles/pihole/tasks/main.yml
index 4888e578..52ccafcf 100644
--- a/roles/pihole/tasks/main.yml
+++ b/roles/pihole/tasks/main.yml
@@ -151,7 +151,7 @@
- name: "Create pihole nginx configurations"
become: true
- when: pihole_by_nginx is defined and pihole_by_nginx != ""
+ when: pihole_by_nginx is defined and pihole_by_nginx | bool
ansible.builtin.copy:
content: |
location /admin/ {