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 |
| 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 |
| 34 | provisioner: |
| 35 | name: ansible |
| 36 | inventory: |
| 37 | links: |
| 38 | group_vars: ../../../../group_vars |
| 39 | lint: |
| 40 | name: ansible-lint |
| 41 | verifier: |
| 42 | name: testinfra |
| 43 | lint: |
| 44 | name: flake8 |