From f5d4d75d39c7902f6003d0ef8d2f8ac5a4083634 Mon Sep 17 00:00:00 2001 From: Jan Benedikt Date: Mon, 10 Feb 2020 16:32:31 +0100 Subject: Adding Ubuntu support in Ansible - setup role Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in setup role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt Change-Id: I7a609613a517932939adf2e011c3ceb4e1d15bba --- ansible/roles/setup/molecule/ubuntu/molecule.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ansible/roles/setup/molecule/ubuntu/molecule.yml diff --git a/ansible/roles/setup/molecule/ubuntu/molecule.yml b/ansible/roles/setup/molecule/ubuntu/molecule.yml new file mode 100644 index 00000000..16dcedf7 --- /dev/null +++ b/ansible/roles/setup/molecule/ubuntu/molecule.yml @@ -0,0 +1,24 @@ +--- +dependency: + name: galaxy +driver: + name: docker +lint: + name: yamllint +platforms: + - name: instance + image: ${PLATFORM_DISTRO:-ubuntu}:${DISTRO_VERSION:-18.04} + dockerfile: ../default/Dockerfile.j2 +provisioner: + name: ansible + lint: + name: ansible-lint + playbooks: + converge: ../default/playbook.yml +scenario: + name: ubuntu +verifier: + name: testinfra + lint: + name: flake8 + directory: ../default/tests/ -- cgit 1.2.3-korg