Appendix
Troubleshooting
Common issues
-
Dev Spaces workspace not loading: Refresh your browser and wait a few minutes. If the issue persists, delete the workspace and recreate it from the Dev Spaces dashboard.
-
Python virtual environment not activated: Run
source .venv/bin/activatefrom the collection root directory. -
Module not found errors: Verify you are in the correct directory and that your collection is installed with
ade install -e . -
Molecule test failures: Ensure the container runtime (Podman) is running with
podman ps. Check you are in theextensions/directory and specifying the scenario name with-s. -
ansible-builder build failures: Verify the
execution-environment.ymlsyntax and that the collection tarball exists at the expected path.
Useful commands
| Command | Purpose |
|---|---|
|
Show all installed Ansible development tool versions |
|
Install collection in editable mode with dependencies |
|
Display collection dependency tree |
|
Run a full Molecule test lifecycle |
|
Run only the converge stage (useful for iterating) |
|
Run pytest with verbose output and no capture |
|
List all auto-discovered tox environments |
|
Generate the Containerfile without building |
|
Build the execution environment image |
|
Sign the project files listed in MANIFEST.in |
|
Verify project signatures |