diff --git a/roles/unbound/meta/main.yml b/roles/unbound/meta/main.yml index ee895d1..a0729fb 100644 --- a/roles/unbound/meta/main.yml +++ b/roles/unbound/meta/main.yml @@ -1,4 +1,3 @@ --- dependencies: - - { role: firejail } - { role: systemd } diff --git a/roles/unbound/tasks/main.yml b/roles/unbound/tasks/main.yml index 0563766..57c4ae9 100644 --- a/roles/unbound/tasks/main.yml +++ b/roles/unbound/tasks/main.yml @@ -10,29 +10,6 @@ notify: - restart unbound -- name: Create Unbound systemd unit file directory - file: path=/etc/systemd/system/unbound.service.d state=directory - tags: - - firejail - -- name: Push Unbound socket unit file - copy: src=unbound-service-override.conf dest=/etc/systemd/system/unbound.service.d/override.conf - notify: - - reload systemd config - - restart unbound - tags: - - firejail - -- name: Remove Unbound systemd unit PID file line - lineinfile: dest=/usr/lib/systemd/system/unbound.service - state=absent - line="PIDFile=/run/unbound.pid" - notify: - - reload systemd config - - restart unbound - tags: - - firejail - - name: Enable and start Unbound service: name=unbound.service enabled=yes state=started