RETIRED, Cookiecutter Template for TripleO roles
Go to file
OpenDev Sysadmins 6fdcdd087f OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:50 +00:00
ansible-role-tripleo-{{cookiecutter.project_name}} Remove setup.py check from tox template 2018-10-30 10:33:45 -05:00
ci-scripts Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
zuul.d Remove release-openstack-server 2018-09-28 15:29:55 +02:00
.gitignore Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:50 +00:00
LICENSE Initial import 2018-07-06 11:52:17 -07:00
README.md Document how to run tox to test the cookiecutter 2018-08-01 20:21:05 -04:00
ansible-requirements.txt Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
cookiecutter.json Cleanup some typos 2018-07-06 16:46:09 -07:00
setup.cfg Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
setup.py Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
test-requirements.txt Update hacking version to latest 2019-01-05 00:22:17 +08:00
tox.ini Merge "Update min tox version to 2.0" 2019-01-03 21:20:16 +00:00

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

  1. Clone locally the ansible-role-tripleo-cookiecutter repository.
  2. Run cookiecutter /path/to/cloned/repo

Remotely (ie. using a git repo)

  1. Run cookiecutter https://git.openstack.org/openstack/ansible-role-tripleo-cookiecutter.git

Testing

  1. 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.