diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2022-01-05 11:08:16 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2022-01-05 13:31:46 +0100 |
commit | 0a7f8465f5ec7142e2e58fe0d603c09553151ca1 (patch) | |
tree | 80d28521573977eedb7ca68aaf9ab17914debad5 /ansible | |
parent | ae39a0515e9ce2f7d0a13934237b396372f7f062 (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>
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/cert-manager/molecule/ubuntu/molecule.yml | 31 | ||||
l--------- | ansible/roles/cert-manager/molecule/ubuntu/vars.yml | 1 |
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 |