kolla-ansible/ansible/roles/manila/tasks/deploy.yml

37 lines
1.1 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: 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']