Molecule example to testing a simple role.
- Python 3.7
- Virtualenv
- Create a virtualenv:
virtualenv -p python3.7 .venv
- Activate
source .venv/bin/activate
- Install requirements
pip install -r requirements.txt
- Deactivate
- Activate again to get all dependencies
After that you will be able to create your own role inside the roles directory using
molecule init role my-role-name
© Alejandro Bejarano Gómez. 2020.