From ef96bfd198cc5f71974874915d1da2165d6bdb8d Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Thu, 27 May 2021 18:21:26 +0200 Subject: [PATCH] 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 (cherry picked from commit 49c49d3c03e4ca7f0e147e8946951885d062dfc3) --- deployment/cephadm/ceph-client.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/deployment/cephadm/ceph-client.yaml b/deployment/cephadm/ceph-client.yaml index 8cba6ffbcf..b60cb959e8 100644 --- a/deployment/cephadm/ceph-client.yaml +++ b/deployment/cephadm/ceph-client.yaml @@ -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: {}