diff options
Diffstat (limited to 'roles/pihole')
| -rw-r--r-- | roles/pihole/handlers/main.yml | 4 | ||||
| -rw-r--r-- | roles/pihole/tasks/main.yml | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/roles/pihole/handlers/main.yml b/roles/pihole/handlers/main.yml index 68f4f3a0..87e77475 100644 --- a/roles/pihole/handlers/main.yml +++ b/roles/pihole/handlers/main.yml @@ -16,3 +16,7 @@ ansible.builtin.systemd_service: name: "NetworkManager" state: "restarted" + +- name: "Show install output" + ansible.builtin.debug: + var: pihole_install.stdout diff --git a/roles/pihole/tasks/main.yml b/roles/pihole/tasks/main.yml index 27c7e6c1..4a3ad1e9 100644 --- a/roles/pihole/tasks/main.yml +++ b/roles/pihole/tasks/main.yml @@ -71,10 +71,7 @@ args: creates: "/usr/local/bin/pihole" when: not pihole_binary.stat.exists - -- name: "Show install output" - ansible.builtin.debug: - var: pihole_install.stdout + notify: "Show install output" - name: "Ensure Pi-hole started/enabled" become: true |
