Bartek Grzybowski | f7bcc11 | 2019-04-02 15:39:25 +0200 | [diff] [blame] | 1 | --- |
| 2 | dependency: |
| 3 | name: galaxy |
| 4 | driver: |
| 5 | name: docker |
| 6 | lint: |
| 7 | name: yamllint |
| 8 | platforms: |
| 9 | - name: infra_host-ubuntu |
| 10 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} |
| 11 | pre_build_image: True |
| 12 | privileged: true |
| 13 | volume_mounts: |
| 14 | - "/sys/fs/cgroup:/sys/fs/cgroup:ro" |
| 15 | override_command: False |
| 16 | groups: |
| 17 | - infrastructure |
| 18 | - name: node0-ubuntu |
| 19 | image: molecule-${PREBUILD_PLATFORM_DISTRO:-ubuntu}:${PREBUILD_DISTRO_VERSION:-18.04} |
| 20 | pre_build_image: True |
| 21 | privileged: true |
| 22 | volume_mounts: |
| 23 | - "/sys/fs/cgroup:/sys/fs/cgroup:ro" |
| 24 | override_command: False |
| 25 | groups: |
| 26 | - kubernetes |
| 27 | provisioner: |
| 28 | name: ansible |
| 29 | lint: |
| 30 | name: ansible-lint |
| 31 | env: |
| 32 | ANSIBLE_ROLES_PATH: ../../../../test/roles |
| 33 | playbooks: |
| 34 | prepare: ../default/prepare.yml |
| 35 | converge: ../default/playbook.yml |
| 36 | verifier: |
| 37 | name: testinfra |
| 38 | lint: |
| 39 | name: flake8 |