feat: added molecule role testing
This commit is contained in:
parent
f933fe02a4
commit
1791ff33b5
3 changed files with 70 additions and 0 deletions
42
molecule/default/molecule.yml
Normal file
42
molecule/default/molecule.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
|
||||
dependency:
|
||||
name: "galaxy"
|
||||
|
||||
driver:
|
||||
name: "docker"
|
||||
|
||||
platforms:
|
||||
|
||||
# debian 12
|
||||
- name: "debian-12"
|
||||
image: "geerlingguy/docker-debian12-ansible:latest"
|
||||
pre_build_image: true
|
||||
privileged: true
|
||||
volumes:
|
||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||
command: "/lib/systemd/systemd"
|
||||
|
||||
# ubuntu 22
|
||||
- name: "ubuntu-22"
|
||||
image: "geerlingguy/docker-ubuntu2204-ansible:latest"
|
||||
pre_build_image: true
|
||||
privileged: true
|
||||
volumes:
|
||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||
command: "/lib/systemd/systemd"
|
||||
|
||||
# ubuntu 24
|
||||
- name: "ubuntu-24"
|
||||
image: "geerlingguy/docker-ubuntu2404-ansible:latest"
|
||||
pre_build_image: true
|
||||
privileged: true
|
||||
volumes:
|
||||
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
|
||||
command: "/lib/systemd/systemd"
|
||||
|
||||
provisioner:
|
||||
name: "ansible"
|
||||
|
||||
verifier:
|
||||
name: "ansible"
|
||||
Loading…
Add table
Add a link
Reference in a new issue