molecule.yml 1.12 KB
Newer Older
Bengt Giger's avatar
Bengt Giger committed
1
2
3
4
5
6
7
8
9
10
---
dependency:
  name: galaxy
driver:
  name: docker
lint: |
    set -e
    yamllint -c molecule/default/yaml-lint.yml .
    ansible-lint tasks
platforms:
11
  - name: el7
Bengt Giger's avatar
Bengt Giger committed
12
13
14
15
16
17
18
    # systemd enabled container setup
    image: geerlingguy/docker-centos7-ansible:latest
    command: ""
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: true
    pre_build_image: true
19
20
21
22
23
24
25
26
27
  - name: el8
    # systemd enabled container setup
    image: geerlingguy/docker-centos8-ansible:latest
    command: ""
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: true
    pre_build_image: true
  - name: debian10
Bengt Giger's avatar
Bengt Giger committed
28
    # systemd enabled container setup
29
    image: registry.ethz.ch/ansible-community/images/docker-debian10-ansible:latest
Bengt Giger's avatar
Bengt Giger committed
30
31
32
33
34
    command: ""
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: true
    pre_build_image: true
35
  - name: ubuntu2004
Bengt Giger's avatar
Bengt Giger committed
36
37
38
39
40
41
42
43
44
45
46
    # systemd enabled container setup
    image: geerlingguy/docker-ubuntu2004-ansible:latest
    command: ""
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    privileged: true
    pre_build_image: true
provisioner:
  name: ansible
verifier:
  name: ansible