Commit 34fbf682 authored by Nick Busey's avatar Nick Busey

Close #264 - Update pihole main.yml

parent 5267e1de
Pipeline #100673011 passed with stage
......@@ -11,12 +11,10 @@
vars:
services: "{{ enabled_services|flatten(levels=1) }}"
- name: Stop systemd-resolve
systemd:
name: systemd-resolved
enabled: "no"
daemon-reload: "no"
state: stopped
- name: Pull pihole docker images
docker_image:
name: pihole/pihole
pull: True
- name: Configure pihole systemd service.
template:
......@@ -29,3 +27,10 @@
enabled: "yes"
daemon-reload: "yes"
state: started
- name: Stop systemd-resolve
systemd:
name: systemd-resolved
enabled: "no"
daemon-reload: "no"
state: stopped
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment