Files
ansible-role-sudo/molecule/default/molecule.yml
T
volker.raschekandCopilot d8c825217b
Molecule / Molecule (push) Successful in 1h31m0s
Lint Markdown files / markdown-lint (push) Successful in 9s
Ansible Linter / ansible-lint (push) Successful in 1m1s
test: expand sudo role coverage
Cover Ubuntu and invalid rules to verify supported configurations, and document role parameters and test dependencies.

Co-authored-by: Copilot <copilot@github.com>
2026-11-23 10:13:23 +01:00

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