From 0a7f8465f5ec7142e2e58fe0d603c09553151ca1 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 5 Jan 2022 11:08:16 +0100 Subject: [MOLECULE] Add 'ubuntu' scenario for 'cert-manager' role Change-Id: I33db6f8837a14959d35318db08acfb2002911a38 Issue-ID: OOM-2908 Signed-off-by: Bartek Grzybowski --- .../cert-manager/molecule/ubuntu/molecule.yml | 31 ++++++++++++++++++++++ .../roles/cert-manager/molecule/ubuntu/vars.yml | 1 + 2 files changed, 32 insertions(+) create mode 100644 ansible/roles/cert-manager/molecule/ubuntu/molecule.yml create mode 120000 ansible/roles/cert-manager/molecule/ubuntu/vars.yml (limited to 'ansible') 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 -- cgit 1.2.3-korg