summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/molecule/ubuntu
diff options
context:
space:
mode:
authorJan Benedikt <j.benedikt@partner.samsung.com>2020-02-10 15:51:36 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-21 11:49:51 +0000
commit043cb9e989c357d5f81891e5725236504520cd02 (patch)
treed8fb156d05a08e675c12570737ee2a0d4117f5c9 /ansible/roles/nexus/molecule/ubuntu
parent12e752ba35476f48b0253b1dd2a8a1ebe020da0e (diff)
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 <j.benedikt@partner.samsung.com> Change-Id: If2750997057126405987a0362d915456ffe77fff
Diffstat (limited to 'ansible/roles/nexus/molecule/ubuntu')
-rw-r--r--ansible/roles/nexus/molecule/ubuntu/molecule.yml36
1 files changed, 36 insertions, 0 deletions
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