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 |
Bartek Grzybowski | 8aee0ee | 2019-04-11 16:24:36 +0200 | [diff] [blame] | 20 | - /dev:/dev:ro |
Samuli Silvius | bf6776c | 2019-03-25 18:46:24 +0200 | [diff] [blame] | 21 | provisioner: |
| 22 | name: ansible |
| 23 | lint: |
| 24 | name: ansible-lint |
| 25 | env: |
| 26 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 27 | ANSIBLE_LIBRARY: ../../../../library |
| 28 | inventory: |
| 29 | host_vars: |
| 30 | infrastructure-server: |
| 31 | cluster_ip: 1.2.3.4 |
| 32 | verifier: |
| 33 | name: testinfra |
| 34 | options: |
| 35 | verbose: true |
| 36 | lint: |
| 37 | name: flake8 |
| 38 | options: |
| 39 | ignore: W291 # trailing whitespace |