This is a boilerplate configuration to run unit tests on ansible roles with molecule via AWS EC2 Instances. As I could not find clear and concise documentation (that provided working examples) on how to use the plugin, I put together my own working example and created this boilerplate.
- Clone this repository to your local workstation.
- Move the molecule folder into your ansible role working directory.
- Run
pip install ansible molecule molecule-plugins boto3 botocore
.
Run molecule test
.
Open an issue or submit a pull request with the fix.
MIT
Contact via GitHub issues page.