Bartek Grzybowski | 4b8c98f | 2019-05-10 12:33:59 +0200 | [diff] [blame] | 1 | --- |
| 2 | dependency: |
| 3 | name: galaxy |
| 4 | driver: |
| 5 | name: docker |
Bartek Grzybowski | 018a6ab | 2021-04-08 16:20:24 +0200 | [diff] [blame] | 6 | lint: | |
| 7 | set -e |
| 8 | yamllint . |
| 9 | ansible-lint . |
| 10 | flake8 |
Bartek Grzybowski | 4b8c98f | 2019-05-10 12:33:59 +0200 | [diff] [blame] | 11 | platforms: |
| 12 | - name: infrastructure-server |
Bartek Grzybowski | 8d20e07 | 2021-09-22 14:29:07 +0200 | [diff] [blame] | 13 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.9} |
Bartek Grzybowski | 4b8c98f | 2019-05-10 12:33:59 +0200 | [diff] [blame] | 14 | pre_build_image: True |
| 15 | privileged: true |
| 16 | override_command: False |
| 17 | groups: |
| 18 | - infrastructure |
| 19 | volumes: |
| 20 | - /var/lib/docker |
| 21 | provisioner: |
| 22 | name: ansible |
Bartek Grzybowski | 4b8c98f | 2019-05-10 12:33:59 +0200 | [diff] [blame] | 23 | env: |
| 24 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 25 | ANSIBLE_LIBRARY: ../../../../library |
| 26 | inventory: |
| 27 | host_vars: |
| 28 | infrastructure-server: |
| 29 | cluster_ip: 127.0.0.1 |
Bartek Grzybowski | 4b8c98f | 2019-05-10 12:33:59 +0200 | [diff] [blame] | 30 | verifier: |
| 31 | name: testinfra |