From 22fde40ac533e82c8a945692237287ff74532d84 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 5 Jun 2020 20:46:48 +0200 Subject: [PATCH] dns/application: Changed bind9 source to official source --- roles/dns/application/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/dns/application/tasks/main.yml b/roles/dns/application/tasks/main.yml index ed01ea8..436b663 100644 --- a/roles/dns/application/tasks/main.yml +++ b/roles/dns/application/tasks/main.yml @@ -1,5 +1,18 @@ --- +- name: Add key for official source of bind + apt_key: + state: present + id: 15058500A0235D97F5D10063B188E2B695BD4743 + url: https://packages.sury.org/bind/apt.gpg + +- name: Add official source of bind + apt_repository: + state: present + repo: "deb https://packages.sury.org/bind/ {{ ansible_distribution_release }} main" + filename: isc-bind + update_cache: yes + - name: Install required packages apt: state: present