RETIRED, Cookiecutter Template for TripleO roles
Go to file
Jill Rouleau f98ace7d35 Add zuul config, tox files, and lint script.
Add ci jobs to generate a role from cookiecutter config and run
ansible-lint against the generated role.  Lint script is called from
tox so that developers can reproduce this locally.

Change-Id: I76022e580e55094a04ca7ac3c05c025a2894ea1e
2018-08-01 20:17:31 -04:00
ansible-role-tripleo-{{cookiecutter.project_name}} Move zuul.d to correct directory 2018-07-25 09:32:19 -07:00
ci-scripts Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
zuul.d Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
.gitignore Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
.gitreview Added missing .gitreview file 2018-07-11 11:24:35 -07:00
LICENSE Initial import 2018-07-06 11:52:17 -07:00
README.md Initial import 2018-07-06 11:52:17 -07: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 Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04:00
tox.ini Add zuul config, tox files, and lint script. 2018-08-01 20:17:31 -04: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

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.