
With addition of pip_install on every node, we don't need to have pip_install as a meta dependency. Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868 Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d Change-Id: I6d021c28020879cd34046e8f23ba7d12f0e65d6b
55 lines
1.6 KiB
ReStructuredText
55 lines
1.6 KiB
ReStructuredText
=============================
|
|
OpenStack-Ansible glance role
|
|
=============================
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
configure-glance.rst
|
|
|
|
This role installs the following Systemd services:
|
|
|
|
* glance-api
|
|
* glance-registry
|
|
|
|
To clone or view the source code for this repository, visit the role repository
|
|
for `os_glance <https://github.com/openstack/openstack-ansible-os_glance>`_.
|
|
|
|
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: ``glance-install`` and ``glance-config``.
|
|
The ``glance-install`` tag can be used to install and upgrade. The
|
|
``glance-config`` tag can be used to manage configuration.
|