diff options
author | 2020-02-10 16:32:31 +0100 | |
---|---|---|
committer | 2020-03-20 14:05:49 +0100 | |
commit | f5d4d75d39c7902f6003d0ef8d2f8ac5a4083634 (patch) | |
tree | f4f85c3ad4f2b4654f7716bea42540235a9571e5 /ansible/roles/setup/molecule/ubuntu/molecule.yml | |
parent | c7ad8d281bd674f4cc7e08f977eef05ea952c416 (diff) |
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 <j.benedikt@partner.samsung.com>
Change-Id: I7a609613a517932939adf2e011c3ceb4e1d15bba
Diffstat (limited to 'ansible/roles/setup/molecule/ubuntu/molecule.yml')
-rw-r--r-- | ansible/roles/setup/molecule/ubuntu/molecule.yml | 24 |
1 files changed, 24 insertions, 0 deletions
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/ |