From ca30ffa426b70509ba0ac6a7a5b6fa6aff050922 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 6 Jun 2019 07:06:27 -0700 Subject: Add role level tests for 'nexus' role Change-Id: If8decc241614e4fe802352cc783b59f8d7ec70b4 Issue-ID: OOM-1915 Signed-off-by: Bartek Grzybowski --- ansible/roles/nexus/molecule/default/molecule.yml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ansible/roles/nexus/molecule/default/molecule.yml (limited to 'ansible/roles/nexus/molecule/default/molecule.yml') diff --git a/ansible/roles/nexus/molecule/default/molecule.yml b/ansible/roles/nexus/molecule/default/molecule.yml new file mode 100644 index 00000000..63c47724 --- /dev/null +++ b/ansible/roles/nexus/molecule/default/molecule.yml @@ -0,0 +1,30 @@ +--- +dependency: + name: galaxy +driver: + name: docker +lint: + name: yamllint +platforms: + - name: infrastructure-server + image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} + pre_build_image: true + privileged: true + override_command: false + volumes: + - /var/lib/docker + groups: + - infrastructure +provisioner: + name: ansible + env: + ANSIBLE_ROLES_PATH: ../../../../test/roles + inventory: + links: + group_vars: ../../../../group_vars + lint: + name: ansible-lint +verifier: + name: testinfra + lint: + name: flake8 -- cgit 1.2.3-korg