openstack-ansible-ops/generate_requirements
melissaml 87cbdd6649 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I790c1876a3e44da8623c74632332f0e453dce1f6
2019-07-09 16:36:22 +00:00
..
README.rst Add generate_requirements tool 2016-08-02 13:52:54 -04:00
generate_requirements.py Replaces yaml.load() with yaml.safe_load() 2017-02-04 18:21:33 +08:00
run.sh Replace git.openstack.org URLs with opendev.org URLs 2019-07-09 16:36:22 +00:00

README.rst

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.