Jimmy McCrory 95276fbd94 Remove unnecessary overrides of service variables
The cinder service user, project, region, and password are the same
regardless of the API endpoint version.

Use the existing cinder namespaced variables instead of overriding and
providing a generic 'service_' variable for use with the service setup
tasks.

This also fixes a recursive loop issue seen when deploying the
integrated release with Ansible 2.1: http://tinyurl.com/hhuljtu

Change-Id: I469dcabb03c792abbad7f65a17bfa5f7146dcfa7
2016-05-27 09:14:26 -07:00
2016-05-23 15:39:08 +01:00
2016-05-13 13:41:18 +01:00
2016-05-21 03:38:51 +00:00
2016-05-04 15:19:36 +01:00
2016-05-03 08:55:28 +01:00
2016-04-16 08:42:39 -05:00

OpenStack-Ansible Cinder

This Ansible role installs and configures OpenStack Cinder.

The following Cinder services are managed by the role:
  • cinder-api
  • cinder-volume
  • cinder-scheduler

By default, Cinder API v1 and v2 are both enabled.

Support for various Cinder backends is supported by the role. See role internals for further details.

Support for volume backups to Swift or Ceph is support by the role. See role internals for further details.

Default Variables

../../defaults/main.yml

Required Variables

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

# Comma separated list of Glance API servers
cinder_glance_api_servers: "http://glance_server:9292"

# Hostname or IP address of the Galera database
cinder_galera_address: "1.2.3.4"

Example Playbook

- name: Installation and setup of cinder
  hosts: cinder_all
  user: root
  roles:
    - { role: "os_cinder", tags: [ "os-cinder" ] }
  vars:
    cinder_glance_api_servers: "http://glance_server:9292"
    cinder_galera_address: "{{ internal_lb_vip_address }}"
Description
Role os_cinder for OpenStack-Ansible
Readme 8.3 MiB
Languages
Jinja 52.6%
Python 34.1%
Shell 13.3%