
Starting this new role as a copy of the os_cinder role due to the similarities between the two openstack projects. This role will deploy manila api, scheduler and share services on ubuntu with the default local LVM backed NFS scenario. Change-Id: Ibda073e5aaa6df3b254961d4aed3a8d5961f3432
61 lines
1.7 KiB
ReStructuredText
61 lines
1.7 KiB
ReStructuredText
=================================
|
|
Manila role for OpenStack-Ansible
|
|
=================================
|
|
|
|
This Ansible role installs and configures OpenStack manila.
|
|
|
|
The following manila services are managed by the role:
|
|
* manila-api
|
|
* manila-scheduler
|
|
* manila-share
|
|
* manila-data (untested)
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
configure-manila.rst
|
|
|
|
To clone of view the source code for this repository, visit the role repository
|
|
for `os_manila <https://github.com/openstack/openstack-ansible-os_manila>`_.
|
|
|
|
Default variables
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
.. literalinclude:: ../../defaults/main.yml
|
|
:language: yaml
|
|
:start-after: under the License.
|
|
|
|
Dependencies
|
|
~~~~~~~~~~~~
|
|
|
|
This role needs pip >= 7.1 installed on the target host.
|
|
|
|
Example playbook
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
.. literalinclude:: ../../examples/playbook.yml
|
|
:language: yaml
|
|
|
|
External Restart Hooks
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
When the role performs a restart of the service, it will notify an Ansible
|
|
handler named ``Manage LB``, which is a noop within this role. In the
|
|
playbook, other roles may be loaded before and after this role which will
|
|
implement Ansible handler listeners for ``Manage LB``, allowing external roles
|
|
to manage the load balancer endpoints responsible for sending traffic to the
|
|
servers being restarted by marking them in maintenance or active mode,
|
|
draining sessions, etc. For an example implementation, please reference the
|
|
`ansible-haproxy-endpoints role <https://github.com/Logan2211/ansible-haproxy-endpoints>`_
|
|
used by the openstack-ansible project.
|
|
|
|
Tags
|
|
~~~~
|
|
|
|
This role supports two tags: ``manila-install`` and ``manila-config``
|
|
|
|
The ``manila-install`` tag can be used to install and upgrade.
|
|
|
|
The ``manila-config`` tag can be used to maintain configuration of the
|
|
service.
|