Basic inventory generation

For the time being I'm relying on a tool to generate our inventory
lists. In the future if we get our permissions scheme setup we'll be
able to open this up to anyone that has an IBM Cloud account that is
associated with the CouchDB CI Infra account.
4 files changed
tree: 82442a1edaf0ee99c35dd8758135ee82d6a8e982
  1. tools/
  2. .gitignore
  3. production
  4. README.md
  5. requirements.txt
README.md

CouchDB Infrastructure Config Management

This repository contains Ansible scripts for managing our VM testing infrastructure.

Setup

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Generating Inventory Listings

Create a ~/.couchdb-infra-cm.cfg file that contains the following options:

[ibmcloud]
api_key = <REDACTED>

Then simply run the script which will dump the current inventory to stdout. Redirect the output to whatever filename you so desire.