summaryrefslogtreecommitdiffstats
path: root/ansible/test/play-infrastructure/molecule/default/prepare.yml
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-04-21 19:24:18 +0300
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-29 10:44:06 +0000
commit2353ca7b38acbd7246adbf23b7d92723bc083dcf (patch)
tree577e2a90e67954778f757d1a25bab2eaaba9d4e4 /ansible/test/play-infrastructure/molecule/default/prepare.yml
parent14f47a0f47990a7e51123fcabd6c124285ebdc45 (diff)
Molecule test for infrastructure playbook.
These tests execute the whole infrastructure playbook. Issue-ID: OOM-1816 Change-Id: I793191e05cb0b527c3da6d820c1916231e69d865 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/test/play-infrastructure/molecule/default/prepare.yml')
-rw-r--r--ansible/test/play-infrastructure/molecule/default/prepare.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/ansible/test/play-infrastructure/molecule/default/prepare.yml b/ansible/test/play-infrastructure/molecule/default/prepare.yml
new file mode 100644
index 00000000..86e25b48
--- /dev/null
+++ b/ansible/test/play-infrastructure/molecule/default/prepare.yml
@@ -0,0 +1,25 @@
+---
+- name: Prepare infra
+ hosts: infrastructure
+ roles:
+ - prepare-package-repository
+ - prepare-chrony
+ - prepare-vncserver
+ - prepare-nginx
+ - prepare-nexus
+ - prepare-dns
+ - prepare-firewall
+ vars_files:
+ - vars.yml
+ - ../../../../roles/nginx/defaults/main.yml
+ - ../../../../roles/vncserver/defaults/main.yml
+ - ../../../../roles/nexus/defaults/main.yml
+ - ../../../../roles/dns/defaults/main.yml
+
+- name: Prepare kubernetes
+ hosts: kubernetes
+ roles:
+ - prepare-chrony
+ - prepare-firewall
+ vars_files:
+ - vars.yml