summaryrefslogtreecommitdiffstats
path: root/roles/pihole
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pihole')
-rw-r--r--roles/pihole/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/pihole/tasks/main.yml b/roles/pihole/tasks/main.yml
index 84899e26..cb61c094 100644
--- a/roles/pihole/tasks/main.yml
+++ b/roles/pihole/tasks/main.yml
@@ -64,6 +64,15 @@
changed_when: false
- name: "Configure pihole as system DNS"
+ tags:
+ # linking the systemd run files fails in molecule tests
+ # This is not relevant to the testing itself, so it's safe to ignore
+ # The other tasks override the network role configurations, this is
+ # by design, and intentional, which conflicts with molecule-idempotent test
+ # therefore it's safe and better to disable testing for these tasks
+ # as these tasks also can't be tested without inspecting pihole logs to
+ # verify that the DNS blocking is happening correctly
+ - molecule-notest
notify:
- "Restart NetworkManager"
- "Restart systemd-resolved"