Add Molecule tests for 'dns' role
This commit supplements 'Molecule test for
infrastructure playbook' with role level tests.
Change-Id: I14cdeedf1c80c0ee06bacf0a391ee1d7ccd6df55
Issue-ID: OOM-1841
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/ansible/roles/dns/molecule/default/prepare.yml b/ansible/roles/dns/molecule/default/prepare.yml
new file mode 100644
index 0000000..f29f089
--- /dev/null
+++ b/ansible/roles/dns/molecule/default/prepare.yml
@@ -0,0 +1,10 @@
+---
+- name: Get localhost facts
+ hosts: localhost
+
+- name: Setup all hosts for playing dns role
+ hosts: all
+ roles:
+ - prepare-common
+ - prepare-docker-dind
+ - prepare-dns