blob: 71e08d0352695d89050cdfb0323d814b9ba24442 [file] [log] [blame]
Samuli Silvius9742e2b2019-03-23 14:09:41 +02001---
2dependency:
3 name: galaxy
4driver:
5 name: docker
6lint:
7 name: yamllint
8platforms:
9 - name: kubernetes-node-1
Bartek Grzybowskid1cdcec2019-04-09 10:26:20 +020010 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
Samuli Silvius9742e2b2019-03-23 14:09:41 +020011 pre_build_image: true
12 privileged: true
13 command: ${MOLECULE_DOCKER_COMMAND:-""}
14 groups:
15 - kubernetes
16 - nfs-server
17 networks:
18 - name: nfs-net
19 volumes:
20 - /sys/fs/cgroup:/sys/fs/cgroup:ro
21 - ${HOME}/data:/dockerdata-nfs:rw
22
23 - name: kubernetes-node-2
Bartek Grzybowskid1cdcec2019-04-09 10:26:20 +020024 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
Samuli Silvius9742e2b2019-03-23 14:09:41 +020025 pre_build_image: true
26 privileged: true
27 command: ${MOLECULE_DOCKER_COMMAND:-""}
28 groups:
29 - kubernetes
30 networks:
31 - name: nfs-net
32 volumes:
33 - /sys/fs/cgroup:/sys/fs/cgroup:ro
34provisioner:
35 name: ansible
36 inventory:
37 links:
38 group_vars: ../../../../group_vars
39 lint:
40 name: ansible-lint
41verifier:
42 name: testinfra
43 lint:
44 name: flake8