blob: 9a87184fb92fd5203103158f42fb18843392c18c [file] [log] [blame]
Samuli Silviusbf6776c2019-03-25 18:46:24 +02001---
2dependency:
3 name: galaxy
4driver:
5 name: docker
6lint:
7 name: yamllint
8platforms:
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
20provisioner:
21 name: ansible
22 lint:
23 name: ansible-lint
24 env:
25 ANSIBLE_ROLES_PATH: ../../../../test/roles
26 ANSIBLE_LIBRARY: ../../../../library
27 inventory:
28 host_vars:
29 infrastructure-server:
30 cluster_ip: 1.2.3.4
31verifier:
32 name: testinfra
33 options:
34 verbose: true
35 lint:
36 name: flake8
37 options:
38 ignore: W291 # trailing whitespace