From 043cb9e989c357d5f81891e5725236504520cd02 Mon Sep 17 00:00:00 2001 From: Jan Benedikt Date: Mon, 10 Feb 2020 15:51:36 +0100 Subject: Adding Ubuntu support in Ansible - nexus role Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in nexus role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt Change-Id: If2750997057126405987a0362d915456ffe77fff --- ansible/roles/nexus/molecule/ubuntu/molecule.yml | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ansible/roles/nexus/molecule/ubuntu/molecule.yml (limited to 'ansible/roles/nexus/molecule/ubuntu') diff --git a/ansible/roles/nexus/molecule/ubuntu/molecule.yml b/ansible/roles/nexus/molecule/ubuntu/molecule.yml new file mode 100644 index 00000000..9955e7d5 --- /dev/null +++ b/ansible/roles/nexus/molecule/ubuntu/molecule.yml @@ -0,0 +1,36 @@ +--- +dependency: + name: galaxy +driver: + name: docker +lint: + name: yamllint +platforms: + - name: infrastructure-server + image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} + 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 + playbooks: + prepare: ../default/prepare.yml + converge: ../default/playbook.yml + cleanup: ../default/cleanup.yml +scenario: + name: ubuntu +verifier: + name: testinfra + lint: + name: flake8 -- cgit 1.2.3-korg