diff options
author | 2020-02-10 15:44:01 +0100 | |
---|---|---|
committer | 2020-04-21 12:06:26 +0000 | |
commit | 2dcd29823739f8eae2f5980fd2d6f43981cf05b1 (patch) | |
tree | 716f7db52e298ade8736017681ac6b93e532ea36 /ansible/roles/dns/tasks | |
parent | 12e752ba35476f48b0253b1dd2a8a1ebe020da0e (diff) |
Adding Ubuntu support in Ansible - dns role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in dns role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I414df46093fd300891b9df44e12a0225495cc906
Diffstat (limited to 'ansible/roles/dns/tasks')
-rw-r--r-- | ansible/roles/dns/tasks/main.yml | 6 |
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 |