blob: f6610ece4b746cb20254aa3c8de14d7a01da07b9 [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
22 - ${HOME}/data:/dockerdata-nfs:rw
23
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 playbooks:
39 cleanup: cleanup.yml
40 env:
41 ANSIBLE_ROLES_PATH: "../../../../test/roles"
Samuli Silvius9742e2b2019-03-23 14:09:41 +020042 inventory:
43 links:
44 group_vars: ../../../../group_vars
Michal Zegan1266d182019-04-09 15:21:52 +020045 host_vars: host_vars
Samuli Silvius9742e2b2019-03-23 14:09:41 +020046 lint:
47 name: ansible-lint
48verifier:
49 name: testinfra
50 lint:
51 name: flake8