diff --git a/roles/common/tasks/caching-nameserver.yml b/roles/common/tasks/caching-nameserver.yml index 8a047b7..c6d4f75 100644 --- a/roles/common/tasks/caching-nameserver.yml +++ b/roles/common/tasks/caching-nameserver.yml @@ -59,11 +59,11 @@ group: bind mode: 0644 #validate: visudo -cf %s + notify: Reload bind9 tags: - sudoers-global-configuration - - name: (caching-nameserver.yml) Add 127.0.0.1 as first nameserver entry to /etc/resolv.conf lineinfile: path: /etc/resolv.conf @@ -75,9 +75,3 @@ group: root mode: '0644' - -- name: (caching-nameserver.yml) Start service bind9, if not started - service: - name: bind9 - state: reloaded - enabled: yes