summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml27
l---------ansible/test/play-cert_manager/molecule/ubuntu/vars.yml1
2 files changed, 28 insertions, 0 deletions
diff --git a/ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml b/ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml
new file mode 100644
index 00000000..4380c88d
--- /dev/null
+++ b/ansible/test/play-cert_manager/molecule/ubuntu/molecule.yml
@@ -0,0 +1,27 @@
+---
+dependency:
+ name: galaxy
+driver:
+ name: docker
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
+platforms:
+ - name: infrastructure-play-ubuntu-cert-manager
+ image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04}
+ pre_build_image: True
+ groups:
+ - infrastructure
+provisioner:
+ name: ansible
+ env:
+ ANSIBLE_ROLES_PATH: ../../../../test/roles
+ ANSIBLE_LIBRARY: ../../../../library
+ playbooks:
+ prepare: ../default/prepare.yml
+ converge: ../default/converge.yml
+verifier:
+ name: testinfra
+ directory: ../../../../roles/cert-manager/molecule/default/tests/
diff --git a/ansible/test/play-cert_manager/molecule/ubuntu/vars.yml b/ansible/test/play-cert_manager/molecule/ubuntu/vars.yml
new file mode 120000
index 00000000..8be219f6
--- /dev/null
+++ b/ansible/test/play-cert_manager/molecule/ubuntu/vars.yml
@@ -0,0 +1 @@
+../default/vars.yml \ No newline at end of file