49ca0de95d
The numerous tags within the role have been condensed to two tags: cinder-install and cinder-config These tags have been chosen as they are namespaced and cover the two major functions of the role. Documentation has been updated to inform how each tag influences the function of the role. Change-Id: I47d3bacb6f79f69e448691b133c319c0a811179b |
||
---|---|---|
defaults | ||
doc | ||
files/rootwrap.d | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
Vagrantfile | ||
other-requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
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 }}"
Tags
This role supports two tags: cinder-install
and
cinder-config
The cinder-install
tag can be used to install and
upgrade.
The cinder-config
tag can be used to maintain
configuration of the service.