2020-09-02 20:17:22 +00:00
|
|
|
# molecule
|
|
|
|
|
2020-09-22 20:32:55 +00:00
|
|
|
Custom image for Molecule Ansible test automation
|
2019-02-28 09:08:43 +00:00
|
|
|
|
2020-02-20 16:24:52 +00:00
|
|
|
[![Build Status](https://img.shields.io/drone/build/docker/molecule?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/molecule)
|
2020-09-21 20:11:00 +00:00
|
|
|
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/molecule)
|
2020-09-02 20:17:22 +00:00
|
|
|
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/molecule)
|
|
|
|
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/molecule)
|
2020-12-30 15:31:40 +00:00
|
|
|
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/molecule/src/branch/main/LICENSE)
|
2019-03-18 13:45:18 +00:00
|
|
|
|
2020-09-24 18:57:46 +00:00
|
|
|
Custom Docker image to automate Ansible deployment tests with [Molecule](https://molecule.readthedocs.io/en/latest/).
|
2019-03-18 13:45:18 +00:00
|
|
|
|
|
|
|
## Environment variables
|
|
|
|
|
2020-02-20 16:24:52 +00:00
|
|
|
```Shell
|
2020-02-21 00:33:18 +00:00
|
|
|
# Target directory to clone custom modules
|
2020-02-20 22:24:46 +00:00
|
|
|
MOLECULE_LIBRARY_DIR=$(pwd)/library
|
|
|
|
|
2020-02-20 16:24:52 +00:00
|
|
|
# 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=
|
2019-11-22 20:52:56 +00:00
|
|
|
|
2020-02-21 00:33:18 +00:00
|
|
|
# Target base directory to clone plugins
|
2020-02-20 22:24:46 +00:00
|
|
|
MOLECULE_PLUGINS_DIR=$(pwd)/plugins
|
|
|
|
|
2020-02-20 16:24:52 +00:00
|
|
|
# If you have custom filters you can specify a git repo containing these files.
|
2020-02-21 00:33:18 +00:00
|
|
|
# Will be cloned to $MOLECULE_PLUGINS_DIR/filter
|
2020-02-20 16:24:52 +00:00
|
|
|
MOLECULE_CUSTOM_FILTERS_REPO=
|
2020-10-08 09:13:26 +00:00
|
|
|
|
|
|
|
# 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
|
2020-02-20 16:24:52 +00:00
|
|
|
```
|
|
|
|
|
2020-02-22 17:08:14 +00:00
|
|
|
## License
|
2020-02-20 16:24:52 +00:00
|
|
|
|
2020-12-30 15:31:40 +00:00
|
|
|
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/molecule/src/branch/main/LICENSE) file for details.
|