-
Notifications
You must be signed in to change notification settings - Fork 21
/
molecule.yml
48 lines (40 loc) · 1.12 KB
/
molecule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
# Use docker to test on travis
# Use vagrant to create vms and access full OS on local testing
driver:
name: docker
#name: vagrant
# It will not be used if you don't specify the driver: name: docker (see the beginning of the file)
docker:
containers:
- name: ansible-trusty
image: ubuntu
image_version: trusty
ansible_groups:
- group1
- name: ansible-ubuntu-latest
image: ubuntu
image_version: latest
ansible_groups:
- group1
- name: ansible-debian8
image: debian
image_version: '8'
ansible_groups:
- group_master
- name: ansible-debian8
image: debian
image_version: '9'
# In docker cannot be tested with centos 7 due to https://github.com/ansible/ansible-modules-core/issues/593
- name: ansible-centos7
image: centos/systemd
image_version: latest
volume_mounts:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
privileged: True
ansible_groups:
- group1
verifier:
name: testinfra
ansible:
playbook: playbook.yml