From dec1adbc54ef335251458ab5899653d5b7c3cb67 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 6 Jul 2019 16:16:30 +0200 Subject: [PATCH] Remove 'Reload bind9' - it was prviosly removed to handlers. --- roles/common/tasks/caching-nameserver.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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