Include the standalone ganesha tasks when ceph is external

When Ceph is external, we can use [1] to deploy standalone ganesha
instances; these instances can be connected to the external ceph
cluster via the related ceph.conf and keyrings.

[1] https://review.opendev.org/786871

Depends-On: Ied85643d888d6729aa97172d836c8d1e04bb469f
Change-Id: Ib5f83f7fcbf7ecbbbea41a62275970d13d589ae8
This commit is contained in:
Francesco Pantano 2021-05-27 18:21:26 +02:00
parent b44102a8d4
commit 49c49d3c03
No known key found for this signature in database
GPG Key ID: 0458D4D1F41BD75C
1 changed files with 12 additions and 0 deletions

View File

@ -121,6 +121,18 @@ outputs:
loop: "{{ ceph_external_multi_config }}"
when:
- ceph_external_multi_config is defined
- name: Load variables for standalone ganesha
include_vars: "{{ playbook_dir }}/cephadm/cephadm-extra-vars-heat.yml"
when:
- groups['ceph_mon'] | default([]) | length == 0
- groups['ceph_nfs'] | default([]) | length > 0
- name: Config Standalone Ganesha
include_role:
name: tripleo_cephadm
tasks_from: nfs
when:
- groups['ceph_mon'] | default([]) | length == 0
- groups['ceph_nfs'] | default([]) | length > 0
external_update_tasks: []
external_upgrade_tasks: []
config_settings: {}