Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 1 | --- |
| 2 | dependency: |
| 3 | name: galaxy |
| 4 | driver: |
| 5 | name: docker |
| 6 | lint: |
| 7 | name: yamllint |
| 8 | platforms: |
| 9 | - name: kubernetes-node-1 |
Bartek Grzybowski | d1cdcec | 2019-04-09 10:26:20 +0200 | [diff] [blame] | 10 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 11 | pre_build_image: true |
| 12 | privileged: true |
| 13 | command: ${MOLECULE_DOCKER_COMMAND:-""} |
| 14 | groups: |
| 15 | - kubernetes |
| 16 | - nfs-server |
Michal Zegan | 1266d18 | 2019-04-09 15:21:52 +0200 | [diff] [blame] | 17 | purge_networks: true |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 18 | networks: |
| 19 | - name: nfs-net |
| 20 | volumes: |
| 21 | - /sys/fs/cgroup:/sys/fs/cgroup:ro |
Michal Zegan | 05bd819 | 2019-06-04 15:28:08 +0200 | [diff] [blame] | 22 | - /dockerdata-nfs |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 23 | |
| 24 | - name: kubernetes-node-2 |
Bartek Grzybowski | d1cdcec | 2019-04-09 10:26:20 +0200 | [diff] [blame] | 25 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 26 | pre_build_image: true |
| 27 | privileged: true |
| 28 | command: ${MOLECULE_DOCKER_COMMAND:-""} |
| 29 | groups: |
| 30 | - kubernetes |
Michal Zegan | 1266d18 | 2019-04-09 15:21:52 +0200 | [diff] [blame] | 31 | purge_networks: true |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 32 | networks: |
| 33 | - name: nfs-net |
| 34 | volumes: |
| 35 | - /sys/fs/cgroup:/sys/fs/cgroup:ro |
| 36 | provisioner: |
| 37 | name: ansible |
Michal Zegan | 1266d18 | 2019-04-09 15:21:52 +0200 | [diff] [blame] | 38 | env: |
| 39 | ANSIBLE_ROLES_PATH: "../../../../test/roles" |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 40 | inventory: |
| 41 | links: |
| 42 | group_vars: ../../../../group_vars |
Michal Zegan | 1266d18 | 2019-04-09 15:21:52 +0200 | [diff] [blame] | 43 | host_vars: host_vars |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 44 | lint: |
| 45 | name: ansible-lint |
| 46 | verifier: |
| 47 | name: testinfra |
| 48 | lint: |
| 49 | name: flake8 |