https://github.com/ialejandro/ansible-molecule-example
Apache2 testing with molecule (Vagrant and Docker)
https://github.com/ialejandro/ansible-molecule-example
ansible apache2 docker molecule vagrant
Last synced: 2 months ago
JSON representation
Apache2 testing with molecule (Vagrant and Docker)
- Host: GitHub
- URL: https://github.com/ialejandro/ansible-molecule-example
- Owner: ialejandro
- License: mit
- Created: 2020-06-26T06:51:18.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T08:41:24.000Z (over 2 years ago)
- Last Synced: 2025-01-17T11:47:09.783Z (over 1 year ago)
- Topics: ansible, apache2, docker, molecule, vagrant
- Language: Jinja
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Molecule: Apache2
## Requirements
* [docker](https://docs.docker.com/engine/install/)
* [vagrant](https://www.vagrantup.com/intro/getting-started/install)
* [pipenv](https://github.com/pypa/pipenv#installation)
## Quick start!
```
git clone git@github.com:ialejandro/ansible-molecule-example.git
# requirements
cd ansible-molecule-example/pipenv
pipenv sync && pipenv shell
# testing
cd ../roles/apache2
# list scenarios
molecule list
# execute scenario
molecule test -s
```