Samuli Silvius | bf6776c | 2019-03-25 18:46:24 +0200 | [diff] [blame^] | 1 | --- |
| 2 | dependency: |
| 3 | name: galaxy |
| 4 | driver: |
| 5 | name: docker |
| 6 | lint: |
| 7 | name: yamllint |
| 8 | platforms: |
| 9 | - name: infrastructure-server |
| 10 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} |
| 11 | pre_build_image: true |
| 12 | privileged: true |
| 13 | command: ${MOLECULE_DOCKER_COMMAND:-""} |
| 14 | groups: |
| 15 | - infrastructure |
| 16 | env: |
| 17 | container: docker |
| 18 | volumes: |
| 19 | - /sys/fs/cgroup:/sys/fs/cgroup:ro |
| 20 | provisioner: |
| 21 | name: ansible |
| 22 | lint: |
| 23 | name: ansible-lint |
| 24 | env: |
| 25 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 26 | ANSIBLE_LIBRARY: ../../../../library |
| 27 | inventory: |
| 28 | host_vars: |
| 29 | infrastructure-server: |
| 30 | cluster_ip: 1.2.3.4 |
| 31 | verifier: |
| 32 | name: testinfra |
| 33 | options: |
| 34 | verbose: true |
| 35 | lint: |
| 36 | name: flake8 |
| 37 | options: |
| 38 | ignore: W291 # trailing whitespace |