caoyuan be3dc2f767 Provide support for manila dev mode in kolla
Add a possibility to mount sources as volumes to containers,
in "more than documentation" way. That will let us to use kolla
as a replacement for devstack.

Partially implements: blueprint mount-sources

Change-Id: I4fe7bf54ad6aaeca75e1b56172a11bb6e00b1539
2018-06-25 03:08:00 +00:00

40 lines
1.2 KiB
YAML

---
- include: ceph.yml
when:
- enable_ceph | bool
- enable_ceph_mds | bool
- (enable_manila_backend_cephfs_native | bool) or (enable_manila_backend_cephfs_nfs | bool)
- inventory_hostname in groups['manila-share']
- include: external_ceph.yml
when:
- enable_ceph| bool == False
- enable_ceph_mds| bool == False
- (enable_manila_backend_cephfs_native | bool) or (enable_manila_backend_cephfs_nfs | bool)
- inventory_hostname in groups['manila-share']
- include: clone.yml
when: manila_dev_mode | bool
- include: register.yml
when: inventory_hostname in groups['manila-api']
- include: config.yml
when: inventory_hostname in groups['manila-api'] or
inventory_hostname in groups['manila-data'] or
inventory_hostname in groups['manila-share'] or
inventory_hostname in groups['manila-scheduler']
- include: bootstrap.yml
when: inventory_hostname in groups['manila-api']
- name: Flush handlers
meta: flush_handlers
- include: fix_cephfs_owner.yml
when:
- enable_ceph | bool
- enable_ceph_mds | bool
- enable_manila_backend_cephfs_native | bool
- inventory_hostname in groups['manila-share']