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.
Go to file
2020-12-20 21:59:59 +01:00
overlay fix vault password file handling 2020-10-10 11:04:39 +02:00
.drone.yml pin plugins/docker to v19 2020-11-28 12:10:28 +01:00
.markdownlint.yml enable markdownlint 2020-10-28 09:05:50 +01:00
.prettierignore fix drone trigger 2020-10-17 16:08:36 +02:00
CHANGELOG.md [skip ci] update changelog 2020-12-02 16:48:57 +01:00
Dockerfile Update dependency molecule to v3.2.1 2020-12-19 19:01:51 +00:00
LICENSE refactoring 2020-02-20 17:24:52 +01:00
README.md add option to pass Ansible vault password 2020-10-08 11:13:26 +02:00
renovate.json pin plugins/docker to v19 2020-11-28 12:10:28 +01:00

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.