This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
molecule/README.md
Robert Kaussow 56a6120492
All checks were successful
continuous-integration/drone/push Build is passing
chore: replace master by main as default branch
2020-12-30 16:31:40 +01:00

1.7 KiB

molecule

Custom image for Molecule Ansible test automation

Build Status Docker Hub Quay.io Source: Gitea License: MIT

Custom Docker image to automate Ansible deployment tests with Molecule.

Environment variables

# Target directory to clone custom modules
MOLECULE_LIBRARY_DIR=$(pwd)/library

# If you use custom modules you can specify a git repo containing these files.
# The repo will be cloned so ansible can use it.
MOLECULE_CUSTOM_MODULES_REPO=

# Target base directory to clone plugins
MOLECULE_PLUGINS_DIR=$(pwd)/plugins

# If you have custom filters you can specify a git repo containing these files.
# Will be cloned to $MOLECULE_PLUGINS_DIR/filter
MOLECULE_CUSTOM_FILTERS_REPO=

# If the variable is set, the value is written to `ANSIBLE_VAULT_PASSWORD_FILE=/root/.vaultpasswd
and automatically passed to molecule.
MOLECULE_ANSIBLE_VAULT_PASSWORD=my_secret

License

This project is licensed under the MIT License - see the LICENSE file for details.