fc46402295
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I19e4deb3c709e0918aa4888bdf7962aab43cc632 Signed-off-by: Doug Hellmann <doug@doughellmann.com> |
||
---|---|---|
ansible-role-tripleo-{{cookiecutter.project_name}} | ||
ci-scripts | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
README.md | ||
ansible-requirements.txt | ||
cookiecutter.json | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.md
Team and repository tags
ansible-role-tripleo-cookiecutter
Cookiecutter template for a compliant OpenStack TripleO Ansible role
Installation
Install cookiecutter either from source, pip or package if it exists
Usage
There are two ways to create the boilerplate for the ansible role.
Locally
- Clone locally the ansible-role-tripleo-cookiecutter repository.
- Run
cookiecutter /path/to/cloned/repo
Remotely (ie. using a git repo)
- Run
cookiecutter https://git.openstack.org/openstack/ansible-role-tripleo-cookiecutter.git
Testing
- Run 'tox -eansible-lint' to test any change in the cookiecutter. It will generate a role and make sure it works and lint is fine.
What's next
Add any additional tags your role may need to be properly identified on Ansible Galaxy in meta/main.yml. Populate your project's README with variable documentation and example playbooks.
Once role is ready, make the proper patch to openstack-infra and wait for the reviews to do the rest.