From: Jan Benedikt Date: Mon, 10 Feb 2020 15:32:31 +0000 (+0100) Subject: Adding Ubuntu support in Ansible - setup role X-Git-Tag: 6.0.0-ONAP~25^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F101486%2F4;p=oom%2Foffline-installer.git 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 --- 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/