blob: 7754d27375447c1c5733a58657e3802482af0475 [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
Bartek Grzybowski8aee0ee2019-04-11 16:24:36 +020020 - /dev:/dev:ro
Samuli Silviusbf6776c2019-03-25 18:46:24 +020021provisioner:
22 name: ansible
23 lint:
24 name: ansible-lint
25 env:
26 ANSIBLE_ROLES_PATH: ../../../../test/roles
27 ANSIBLE_LIBRARY: ../../../../library
28 inventory:
29 host_vars:
30 infrastructure-server:
31 cluster_ip: 1.2.3.4
32verifier:
33 name: testinfra
34 options:
35 verbose: true
36 lint:
37 name: flake8
38 options:
39 ignore: W291 # trailing whitespace