openstack-ansible-ops/generate_requirements/README.rst
Michael Gugino 7bf237926c Add generate_requirements tool
Adding a tool for generating requirements.yml
files for each Openstack-Ansible role.  This
tool is intended to be used by maintainers of
OpenStack-Ansible.  The goal of the generated
requirements.yml files to allow end users the
ability to consume roles without needing to
use all of OpenStack-Ansible.

Change-Id: I8f4c0bf3ea4366bd84b671f796cedc07e5d4db80
2016-08-02 13:52:54 -04:00

744 B

Generate Requirements

This tool is will clone openstack-ansible, parse ansible-role-requirements.yml, and clone the OpenStack-Ansible related roles found therein.

After cloning, the tool will recursively parse each role's dependencies as defined in meta/main.yml for each role.

This tools is intended to be used by maintainers of OpenStack-Ansible to assist in generating requirements.yml files.

Usage

To use this software, simply run ./run.sh This will clone openstack-ansible into a child directory of the current working directory (if it doesn't exist), checkout master, run a pull, and proceed to download the other roles.

After all roles are downloaded, requirements.yml files will be generated for each.