diff --git a/roles/dns_adblocking/tasks/main.yml b/roles/dns_adblocking/tasks/main.yml index a37bf9c..e3692bb 100644 --- a/roles/dns_adblocking/tasks/main.yml +++ b/roles/dns_adblocking/tasks/main.yml @@ -14,6 +14,7 @@ - name: Enforce the dnsmasq AppArmor policy shell: aa-enforce usr.sbin.dnsmasq + tags: ['apparmor'] - name: Ensure that the dnsmasq service directory exist file: path=/etc/systemd/system/dnsmasq.service.d/ state=directory mode=0755 owner=root group=root diff --git a/roles/proxy/tasks/main.yml b/roles/proxy/tasks/main.yml index e1d8b9d..9117dfb 100644 --- a/roles/proxy/tasks/main.yml +++ b/roles/proxy/tasks/main.yml @@ -19,6 +19,7 @@ - name: Enforce the privoxy AppArmor policy shell: aa-enforce usr.sbin.privoxy + tags: ['apparmor'] - name: Ensure that the privoxy service directory exist file: path=/etc/systemd/system/privoxy.service.d/ state=directory mode=0755 owner=root group=root