Michael Vollman f9bfb7f0bc Basic working os_manila role
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
2019-03-08 19:41:48 +00:00

1.7 KiB

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)

configure-manila.rst

To clone of view the source code for this repository, visit the role repository for os_manila.

Default variables

../../defaults/main.yml

Dependencies

This role needs pip >= 7.1 installed on the target host.

Example playbook

../../examples/playbook.yml

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 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.