Jan Benedikt | e23ab10 | 2020-02-10 16:23:04 +0100 | [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 |
Jan Benedikt | e23ab10 | 2020-02-10 16:23:04 +0100 | [diff] [blame] | 11 | platforms: |
| 12 | - name: infrastructure-server |
| 13 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} |
| 14 | pre_build_image: true |
| 15 | privileged: true |
| 16 | override_command: false |
| 17 | volumes: |
| 18 | - /var/lib/docker |
| 19 | groups: |
| 20 | - infrastructure |
| 21 | provisioner: |
| 22 | name: ansible |
| 23 | env: |
| 24 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 25 | inventory: |
| 26 | links: |
| 27 | group_vars: ../../../../group_vars |
Jan Benedikt | e23ab10 | 2020-02-10 16:23:04 +0100 | [diff] [blame] | 28 | playbooks: |
| 29 | prepare: ../default/prepare.yml |
Bartek Grzybowski | d0f80fd | 2021-04-08 16:41:16 +0200 | [diff] [blame] | 30 | converge: ../default/converge.yml |
Jan Benedikt | e23ab10 | 2020-02-10 16:23:04 +0100 | [diff] [blame] | 31 | cleanup: ../default/cleanup.yml |
Jan Benedikt | e23ab10 | 2020-02-10 16:23:04 +0100 | [diff] [blame] | 32 | verifier: |
| 33 | name: testinfra |