1002 B
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
- Ensure Podman is available and the current user can run it.
- Ensure Molecule and Ansible are installed in the active Python environment.
Default scenario (BIND 9.18 LTS)
- From the repository root, run:
- molecule test
- If a faster check is requested, run:
- molecule converge
BIND 9.20+ scenario
- From the repository root, run:
- molecule test -s bind9-20
- 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.