From 214ca176dfa7567968535e17e6ab30f9cab28d7e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 12 Nov 2014 16:59:11 -0700 Subject: [PATCH] Filled out README, removed unused monasca_api_host --- README.md | 19 ++++++++++++++++++- defaults/main.yml | 1 - 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48a0786..f75ff78 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,25 @@ #Monasca Keystone -Configures Monasca in Keystone +Performs some Keystone setup for Monasca + +This role adds one or more users/tenants/roles to Keystone, as specified in keystone_users: + +``` +keystone_users: + monasca-agent: + password: some-password + tenant: some-tenant + role: monasca-agent +``` +It also creates a Monasca endpoint in keystone. + +Override default variables as necessary: + - `keystone_url` + - `keystone_admin_token` + - `keystone_endpoint` `host` (the hostname or IP address of the Monasca API server) ##Requirements - Server running OpenStack Keystone +- Hostname or IP of Monasca API server ##Optional diff --git a/defaults/main.yml b/defaults/main.yml index 634aea9..33f9956 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,3 @@ -monasca_api_host: 127.0.0.1 keystone_url: http://127.0.0.1:35357/v2.0 keystone_admin_token: ADMIN keystone_users: