summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-05 11:08:16 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2022-01-05 11:08:16 +0100
commit2ac77fcbaa7b1a517b9b93d254c32280b54925e8 (patch)
treebab8e97add8149bc3b605ab273678907c3f8f225
parentdb11af6f59d3b9716824cc288dec4c1c0234964a (diff)
[MOLECULE] Add 'ubuntu' scenario for 'cert-manager' role
Change-Id: I33db6f8837a14959d35318db08acfb2002911a38 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--ansible/roles/cert-manager/molecule/ubuntu/molecule.yml31
l---------ansible/roles/cert-manager/molecule/ubuntu/vars.yml1
2 files changed, 32 insertions, 0 deletions
diff --git a/ansible/roles/cert-manager/molecule/ubuntu/molecule.yml b/ansible/roles/cert-manager/molecule/ubuntu/molecule.yml
new file mode 100644
index 00000000..73300f29
--- /dev/null
+++ b/ansible/roles/cert-manager/molecule/ubuntu/molecule.yml
@@ -0,0 +1,31 @@
+---
+dependency:
+ name: galaxy
+driver:
+ name: docker
+lint: |
+ set -e
+ yamllint .
+ ansible-lint .
+ flake8
+platforms:
+ - name: infrastructure-ubuntu-cert-manager
+ image: ubuntu:18.04
+ groups:
+ - infrastructure
+provisioner:
+ name: ansible
+ env:
+ ANSIBLE_ROLES_PATH: ../../../../test/roles
+ ANSIBLE_LIBRARY: ../../../../library
+ inventory:
+ group_vars:
+ all:
+ app_name: onap
+ app_data_path: "/opt/{{ app_name }}"
+ playbooks:
+ prepare: ../default/prepare.yml
+ converge: ../default/converge.yml
+verifier:
+ name: testinfra
+ directory: ../default/tests
diff --git a/ansible/roles/cert-manager/molecule/ubuntu/vars.yml b/ansible/roles/cert-manager/molecule/ubuntu/vars.yml
new file mode 120000
index 00000000..8be219f6
--- /dev/null
+++ b/ansible/roles/cert-manager/molecule/ubuntu/vars.yml
@@ -0,0 +1 @@
+../default/vars.yml \ No newline at end of file