blob: 552f4bcc2891bbc8f885ead878cce51e5e961af7 [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
10 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos7}:${PREBUILD_DISTRO_VERSION:-latest}
11 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
24 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos7}:${PREBUILD_DISTRO_VERSION:-latest}
25 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