From 5b5fa52e53ea7ad6c7c6fd7b8a998a2832b64e2c Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 10 Oct 2017 09:48:48 +0200 Subject: [PATCH] Modify dns for debian stretch. --- roles/dns/tasks/main.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml index 2ad5ada..8a4ed36 100644 --- a/roles/dns/tasks/main.yml +++ b/roles/dns/tasks/main.yml @@ -1,22 +1,16 @@ --- -- name: Enable backports - apt_repository: repo='deb http://httpredir.debian.org/debian jessie-backports main' state=present - - name: Install powerdns apt: name={{item}} default_release=jessie-backports state=latest - tags: dns with_items: - pdns-server - pdns-recursor - name: Create zone directory file: path=/etc/powerdns/bind/ state=directory - tags: dns - name: Configure powerdns template: src={{item}}.j2 dest=/etc/powerdns/{{item}} - tags: dns notify: Restart powerdns with_items: - pdns.conf @@ -27,7 +21,6 @@ - name: Start the powerdns services service: name={{item}} state=started enabled=yes - tags: dns with_items: - pdns - pdns-recursor