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 |
| 22 | - ${HOME}/data:/dockerdata-nfs:rw |
| 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 | playbooks: |
| 39 | cleanup: cleanup.yml |
| 40 | env: |
| 41 | ANSIBLE_ROLES_PATH: "../../../../test/roles" |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 42 | inventory: |
| 43 | links: |
| 44 | group_vars: ../../../../group_vars |
Michal Zegan | 1266d18 | 2019-04-09 15:21:52 +0200 | [diff] [blame^] | 45 | host_vars: host_vars |
Samuli Silvius | 9742e2b | 2019-03-23 14:09:41 +0200 | [diff] [blame] | 46 | lint: |
| 47 | name: ansible-lint |
| 48 | verifier: |
| 49 | name: testinfra |
| 50 | lint: |
| 51 | name: flake8 |