Cover Ubuntu and invalid rules to verify supported configurations, and document role parameters and test dependencies. Co-authored-by: Copilot <copilot@github.com>
27 lines
658 B
YAML
27 lines
658 B
YAML
---
|
|
|
|
driver:
|
|
name: default
|
|
options:
|
|
managed: true
|
|
login_cmd_template: "docker exec --interactive --tty {instance} bash"
|
|
|
|
platforms:
|
|
- name: sudo-archlinux
|
|
image: docker.io/library/archlinux:base
|
|
- name: sudo-debian
|
|
image: docker.io/library/debian:13
|
|
- name: sudo-fedora
|
|
image: registry.fedoraproject.org/fedora:43
|
|
- name: sudo-ubuntu
|
|
image: docker.io/library/ubuntu:24.04
|
|
|
|
provisioner:
|
|
name: ansible
|
|
# The role under test is the project directory itself, so its parent has to be on the roles path.
|
|
env:
|
|
ANSIBLE_ROLES_PATH: "${MOLECULE_PROJECT_DIRECTORY}/.."
|
|
config_options:
|
|
defaults:
|
|
interpreter_python: auto_silent
|