Samuli Silvius | 4555057 | 2019-04-18 11:08:19 +0300 | [diff] [blame^] | 1 | --- |
| 2 | dependency: |
| 3 | name: galaxy |
| 4 | driver: |
| 5 | name: docker |
| 6 | lint: |
| 7 | name: yamllint |
| 8 | platforms: |
| 9 | - name: resource-host |
| 10 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 11 | pre_build_image: true |
| 12 | privileged: true |
| 13 | override_command: false |
| 14 | volumes: |
| 15 | - /sys/fs/cgroup:/sys/fs/cgroup:ro |
| 16 | groups: |
| 17 | - resources |
| 18 | networks: |
| 19 | - name: resource-data |
| 20 | |
| 21 | - name: infrastructure-server |
| 22 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 23 | pre_build_image: true |
| 24 | privileged: true |
| 25 | override_command: false |
| 26 | volumes: |
| 27 | - /sys/fs/cgroup:/sys/fs/cgroup:ro |
| 28 | groups: |
| 29 | - infrastructure |
| 30 | networks: |
| 31 | - name: resource-data |
| 32 | provisioner: |
| 33 | name: ansible |
| 34 | env: |
| 35 | ANSIBLE_ROLES_PATH: ../../../../roles:../../../roles |
| 36 | lint: |
| 37 | name: ansible-lint |
| 38 | verifier: |
| 39 | name: testinfra |
| 40 | lint: |
| 41 | name: flake8 |