blob: ffaabb07e9d2c2c96b8cc0868310e73cd12e6e2f [file] [log] [blame]
Samuli Silvius45550572019-04-18 11:08:19 +03001---
2dependency:
3 name: galaxy
4driver:
5 name: docker
6lint:
7 name: yamllint
8platforms:
9 - name: resource-host
10 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
11 pre_build_image: true
12 privileged: true
13 override_command: false
14 volumes:
15 - /sys/fs/cgroup:/sys/fs/cgroup:ro
16 - ${HOME}/data:/data:rw # mount fs from host to get nfs exportfs task working
17 groups:
18 - resources
19 networks:
20 - name: resource-data
21
22 - name: infrastructure-server
23 image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6}
24 pre_build_image: true
25 privileged: true
26 override_command: false
27 volumes:
28 - /sys/fs/cgroup:/sys/fs/cgroup:ro
29 groups:
30 - infrastructure
31 networks:
32 - name: resource-data
33provisioner:
34 name: ansible
35 playbooks:
36 cleanup: ../default/cleanup.yml
37 env:
38 ANSIBLE_ROLES_PATH: ../../../../roles:../../../roles
39 inventory:
40 links:
41 group_vars: ../default/group_vars
42 lint:
43 name: ansible-lint
44verifier:
45 name: testinfra
46 lint:
47 name: flake8