--- name: molecule-role-testing description: 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.