Role os_gnocchi for OpenStack-Ansible
Go to file
Steve Lewis aa328e6da4 Use pbr WSGI script to build gnocchi-api
Removes host and port from api section of config file template.
Also cleans up Ansible Lint warnings

Related-To: I2298f9cb94a684747f4b4dbc262cdcab7de49175
Change-Id: I56954df3d13b86cfcb4eb68e419ce13dfac2c051
2016-07-08 00:26:59 -07:00
defaults Update SHAs and config templates 2016-05-05 09:20:50 -07:00
doc Enable docs task 2016-04-11 16:53:43 -07:00
ext Cleaning up overrides 2016-06-14 13:56:12 -07:00
handlers Use pbr WSGI script to build gnocchi-api 2016-07-08 00:26:59 -07:00
library Enabling bashate and pep8 lint checks 2016-04-11 17:00:57 -07:00
meta Remove pip_lock_down dependency 2016-06-09 11:29:59 -07:00
releasenotes Add reno scaffolding for release notes management 2016-04-14 11:40:45 +00:00
tasks Use pbr WSGI script to build gnocchi-api 2016-07-08 00:26:59 -07:00
templates Use pbr WSGI script to build gnocchi-api 2016-07-08 00:26:59 -07:00
tests Use pbr WSGI script to build gnocchi-api 2016-07-08 00:26:59 -07:00
vars Implement Ubuntu 16.04 support with SystemD 2016-06-07 09:04:28 -07:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:20:08 +01:00
.gitreview Prepare for role integration 2016-04-04 15:23:25 -07:00
CONTRIBUTING.rst Prepare for role integration 2016-04-04 15:23:25 -07:00
LICENSE Prepare for role integration 2016-04-04 15:23:25 -07:00
README.rst Adopting the common role documentation pattern 2016-06-02 18:33:47 -07:00
Vagrantfile Add support for Vagrant deployment 2016-06-17 11:59:26 -07:00
ansible-role-requirements.yml Update role to reapply the pattern of tasks 2016-03-29 16:57:08 -07:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:55:53 +01:00
setup.cfg Prepare for role integration 2016-04-04 15:23:25 -07:00
setup.py Enabling bashate and pep8 lint checks 2016-04-11 17:00:57 -07:00
test-requirements.txt Pin test-requirements to match OpenStack requirements 2016-06-17 12:34:54 +01:00
tox.ini Merge "Initial convergence testing" 2016-04-22 11:58:29 +00:00

README.rst

OpenStack-Ansible Gnocchi

Ansible role which installs and configures OpenStack Gnocchi. Gnocchi installs behind an Apache webserver listening for HTTP connections on port 8041 and writes to filesystem storage by default.

The role can readily be configured to use Swift or Ceph storage as desired and may be used as a stand-alone service integrated with Keystone for auth or with Ceilometer as a metrics source.

Default Variables

../../defaults/main.yml

Required Variables

This list is not considered exhaustive at present. See role internals for further details.

gnocchi_galera_password: "secrete"
galera_address: 10.100.100.2

# Keystone credentials
keystone_admin_tenant_name: admin
keystone_admin_user_name: admin
keystone_auth_admin_password: "SuperSecretePassword"
keystone_service_adminuri_insecure: false
keystone_service_adminurl: "https://10.100.100.10:35357/v3"
keystone_service_internalurl: "https://10.100.100.10:5000/v3"

# Keystone password for the gnocchi service user
gnocchi_service_password: "secrete"

# hostname or IP of load balancer providing external network
# access to Keystone
external_lb_vip_address: 10.100.100.102

# hostname or IP of load balancer providing internal network
# access to Keystone
internal_lb_vip_address: 10.100.100.102

Example Playbook

- name: Installation and setup of Keystone
  hosts: keystone_all
  user: root
  roles:
    - { role: "os_keystone", tags: [ "os-keystone" ] }
  vars: