blob: a8ca6a3058ba9b99e6d4a668bada37b2d5fb488a [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
Michal Zegan1266d182019-04-09 15:21:52 +020017 purge_networks: true
Samuli Silvius9742e2b2019-03-23 14:09:41 +020018 networks:
19 - name: nfs-net
20 volumes:
21 - /sys/fs/cgroup:/sys/fs/cgroup:ro
Michal Zegan05bd8192019-06-04 15:28:08 +020022 - /dockerdata-nfs
Samuli Silvius9742e2b2019-03-23 14:09:41 +020023
24 - name: kubernetes-node-2
Bartek Grzybowskid1cdcec2019-04-09 10:26:20 +020025 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
Samuli Silvius9742e2b2019-03-23 14:09:41 +020026 pre_build_image: true
27 privileged: true
28 command: ${MOLECULE_DOCKER_COMMAND:-""}
29 groups:
30 - kubernetes
Michal Zegan1266d182019-04-09 15:21:52 +020031 purge_networks: true
Samuli Silvius9742e2b2019-03-23 14:09:41 +020032 networks:
33 - name: nfs-net
34 volumes:
35 - /sys/fs/cgroup:/sys/fs/cgroup:ro
36provisioner:
37 name: ansible
Michal Zegan1266d182019-04-09 15:21:52 +020038 env:
39 ANSIBLE_ROLES_PATH: "../../../../test/roles"
Samuli Silvius9742e2b2019-03-23 14:09:41 +020040 inventory:
41 links:
42 group_vars: ../../../../group_vars
Michal Zegan1266d182019-04-09 15:21:52 +020043 host_vars: host_vars
Samuli Silvius9742e2b2019-03-23 14:09:41 +020044 lint:
45 name: ansible-lint
46verifier:
47 name: testinfra
48 lint:
49 name: flake8