Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m0wer/cookiecutter_ansible
Cookiecutter template for ansible roles or playbooks. Including molecule for testing.
https://github.com/m0wer/cookiecutter_ansible
Last synced: 8 days ago
JSON representation
Cookiecutter template for ansible roles or playbooks. Including molecule for testing.
- Host: GitHub
- URL: https://github.com/m0wer/cookiecutter_ansible
- Owner: m0wer
- License: gpl-3.0
- Created: 2019-03-30T09:34:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-15T19:09:12.000Z (over 5 years ago)
- Last Synced: 2024-10-11T18:14:46.020Z (about 1 month ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible cookiecutter template
[Cookiecutter](https://github.com/audreyr/cookiecutter) template for
[ansible](https://www.ansible.com/) roles or playbooks. Including
[molecule](https://github.com/ansible/molecule) for testing.Uses **debian stretch** by default for testing.
## Compatibility
The following setups are supported:
* Drivers:
* [docker](https://www.docker.com/)
* [vagrant](https://www.vagrantup.com/)
* [virtualbox](https://www.virtualbox.org/)
* Verifiers:
* [testinfra](https://github.com/philpep/testinfra)## Variables
### Common
* `project_name`: Name of the role or playbook.
* `project_type`: Type of project, role or playbook.
* `molecule_directory`: Directory name for the **molecule** files.
* `dependency_name`: Dependencies engine for molecule.
* `dependency_enabled`: Boolean to enable the molecule dependencies engine.
* `driver_name`: Driver name.
* `lint_name`: YAML lint checker.
* `provisioner_name`: Ansible.
* `provisioner_lint_name`: Ansible lint checker.
* `scenario_name`: Name for the molecule scenario.
* `verifier_name`: Molecule verifier.
* `verifier_directory`: Name of the testing directory inside molecule.
* `verifier_lint_name`: Verifier lint checker.### Vagrant Specific
* `provider_name`: Vagrant provider.
* `static_ip`: Static IP for the virtual machine.## Usage
`cookiecutter ansible_cookiecutter` or `cookiecutter [repo url]`.
## License
License for the original [molecule](https://github.com/ansible/molecule)
configuration files: MIT.Following modifications: GPLv3
## Author Information
m0wer (at) autistici.org