summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/dns/tasks/main.yml')
-rw-r--r--ansible/roles/dns/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/dns/tasks/main.yml b/ansible/roles/dns/tasks/main.yml
index 8a7f8bca..bfdd83b4 100644
--- a/ansible/roles/dns/tasks/main.yml
+++ b/ansible/roles/dns/tasks/main.yml
@@ -4,6 +4,12 @@
path: "{{ app_data_path }}/cfg"
state: directory
+- name: Stop systemd-resolved daemon - Ubuntu
+ systemd:
+ name: systemd-resolved
+ state: stopped
+ when: ansible_distribution in ["Ubuntu","Debian"]
+
- name: Create simulated hostnames file
template:
src: simulated_hosts.j2