Ansible role to deploy multiple clouds resources
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zuul 4b8b68e0a2 Merge "Fix .gitreview after rename" 3 years ago
defaults Add ability to download an image from the Internet to upload it to Glance 6 years ago
doc/source Add doc folder 6 years ago
meta Add metadata to role 6 years ago
tasks Merge "Add region to task output" 4 years ago
tests Add quotas support for the cloud launcher 6 years ago
.gitignore Add .gitignore 6 years ago
.gitreview Fix .gitreview after rename 3 years ago
LICENSE Add Apache license file 6 years ago
README.rst Switch README from markdown to rst 6 years ago
requirements.txt Pin Ansible version to 6 years ago
resources.yml.sample Initial support for regions 6 years ago
setup.cfg Add and setup.cfg 6 years ago Add and setup.cfg 6 years ago
test-requirements.txt Add test-requirements.txt for tox venvs 6 years ago
tox.ini Ignore ansible-lint errors 3 years ago



Ansible role to launch multiple OpenStack Clouds resources


ansible-role-cloud-launcher is an Ansible role that allows to launch multiple OpenStack clouds resources. Resources can be defined in a cloud by cloud basis or defined in a profile, which may be reused by more than one cloud.


shade library needs to be installed, as that is required by the OpenStack Ansible modules.

Role Variables

The role expects variables fed by ansible-playbook on the CLI, for example:

ansible-playbook -i inventory play.yml -e "@resources.yml"

The role expects the resources variables file to have two dict variables, profiles and clouds.

profiles contains a list of OpenStack resources definitions that are meant to be reused by one or more clouds.

clouds contains a list of clouds the role will launch resources on. Each cloud definition will have the OSCC cloud name, a list of profiles the cloud will reuse and a list of resources specific to that cloud.

Please check resources.yml.sample on this repository for a full-blown example.



Example playbook

- hosts: localhost
  connection: local
  gather_facts: false
    - { role: ansible-role-cloud-launcher }