|
| 1 | +--- |
| 2 | +# This molecule configuration file is suitable for testing Ansible |
| 3 | +# roles that _do_ require SystemD. If your Ansible role _does not_ |
| 4 | +# require SystemD then you should use molecule-no-systemd.yml instead. |
| 5 | +# |
| 6 | +# Note that the molecule configuration file that is symlinked to |
| 7 | +# molecule.yml is the one that will be used. |
| 8 | +dependency: |
| 9 | + name: galaxy |
| 10 | +driver: |
| 11 | + name: docker |
| 12 | +platforms: |
| 13 | + - cgroupns_mode: host |
| 14 | + command: /lib/systemd/systemd |
| 15 | + image: geerlingguy/docker-amazonlinux2023-ansible:latest |
| 16 | + name: amazonlinux2023-systemd |
| 17 | + platform: amd64 |
| 18 | + pre_build_image: true |
| 19 | + privileged: true |
| 20 | + volumes: |
| 21 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 22 | + - cgroupns_mode: host |
| 23 | + command: /lib/systemd/systemd |
| 24 | + image: geerlingguy/docker-debian10-ansible:latest |
| 25 | + name: debian10-systemd |
| 26 | + platform: amd64 |
| 27 | + pre_build_image: true |
| 28 | + privileged: true |
| 29 | + volumes: |
| 30 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 31 | + - cgroupns_mode: host |
| 32 | + command: /lib/systemd/systemd |
| 33 | + image: geerlingguy/docker-debian11-ansible:latest |
| 34 | + name: debian11-systemd |
| 35 | + platform: amd64 |
| 36 | + pre_build_image: true |
| 37 | + privileged: true |
| 38 | + volumes: |
| 39 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 40 | + - cgroupns_mode: host |
| 41 | + command: /lib/systemd/systemd |
| 42 | + image: cisagov/docker-debian12-ansible:latest |
| 43 | + name: debian12-systemd |
| 44 | + platform: amd64 |
| 45 | + pre_build_image: true |
| 46 | + privileged: true |
| 47 | + volumes: |
| 48 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 49 | + - cgroupns_mode: host |
| 50 | + command: /lib/systemd/systemd |
| 51 | + image: cisagov/docker-kali-ansible:latest |
| 52 | + name: kali-systemd |
| 53 | + platform: amd64 |
| 54 | + pre_build_image: true |
| 55 | + privileged: true |
| 56 | + volumes: |
| 57 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 58 | + - cgroupns_mode: host |
| 59 | + command: /lib/systemd/systemd |
| 60 | + image: geerlingguy/docker-fedora37-ansible:latest |
| 61 | + name: fedora37-systemd |
| 62 | + platform: amd64 |
| 63 | + pre_build_image: true |
| 64 | + privileged: true |
| 65 | + volumes: |
| 66 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 67 | + - cgroupns_mode: host |
| 68 | + command: /lib/systemd/systemd |
| 69 | + image: geerlingguy/docker-fedora38-ansible:latest |
| 70 | + name: fedora38-systemd |
| 71 | + platform: amd64 |
| 72 | + pre_build_image: true |
| 73 | + privileged: true |
| 74 | + volumes: |
| 75 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 76 | + - cgroupns_mode: host |
| 77 | + command: /lib/systemd/systemd |
| 78 | + image: geerlingguy/docker-ubuntu2004-ansible:latest |
| 79 | + name: ubuntu-20-systemd |
| 80 | + platform: amd64 |
| 81 | + pre_build_image: true |
| 82 | + privileged: true |
| 83 | + volumes: |
| 84 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 85 | + - cgroupns_mode: host |
| 86 | + command: /lib/systemd/systemd |
| 87 | + image: geerlingguy/docker-ubuntu2204-ansible:latest |
| 88 | + name: ubuntu-22-systemd |
| 89 | + platform: amd64 |
| 90 | + pre_build_image: true |
| 91 | + privileged: true |
| 92 | + volumes: |
| 93 | + - /sys/fs/cgroup:/sys/fs/cgroup:rw |
| 94 | +scenario: |
| 95 | + name: default |
| 96 | +verifier: |
| 97 | + name: testinfra |
0 commit comments