Files
ansible-bind9-role/.github/skills/molecule-role-testing/SKILL.md
Daniel Akulenok 07f84b7c96
Some checks failed
Test / Lint (pull_request) Successful in 16s
Test / Test (pull_request) Failing after 2m12s
Fix Molecule default scenario tests
2026-02-08 20:43:56 +01:00

1002 B

name, description
name description
molecule-role-testing Run Molecule scenarios to test the bind9 role using the repository's Molecule configuration.

Use this skill when asked to test or validate the role with Molecule.

Scope

  • Repository root: /home/alive/Code/ansible-bind9-role
  • Scenarios: molecule/default and molecule/bind9-20
  • Driver: podman

Prerequisites

  1. Ensure Podman is available and the current user can run it.
  2. Ensure Molecule and Ansible are installed in the active Python environment.

Default scenario (BIND 9.18 LTS)

  1. From the repository root, run:
    • molecule test
  2. If a faster check is requested, run:
    • molecule converge

BIND 9.20+ scenario

  1. From the repository root, run:
    • molecule test -s bind9-20
  2. If a faster check is requested, run:
    • molecule converge -s bind9-20

Notes

  • The scenarios use systemd-enabled containers and require privileged Podman.
  • If a scenario fails, capture the error summary and relevant logs before making changes.