A cookiecutter template for ansible role generation
Your environment must comply with the following requirements in order to successfully test the cookiecutter
- You must be running under Linux
- Use a python interpreter or virtualenv
- Have docker installed
- Install
cookiecutter
package. E.g.pip install cookiecutter
. - Install
docker-py
package. E.g.pip install docker-py
.
A sample procedure to meet requirements under Arch Linux is provided below:
sudo pacman -S python-virtualenvwrapper docker
mkvirtualenv ansible -p /usr/bin/python2
pip install cookiecutter docker-py
You may use the following procedure as a guide for creating an ansible role in the current directory
cookiecutter gh:nephelaiio/ansible-role .
This project is licensed under the terms of the MIT License