From 646893e967f1e97fd3beb6b0e6663c62dc37f3e2 Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Tue, 23 Nov 2021 13:28:37 +0100 Subject: [PATCH] Skip ganesha config is ceph_nfs is not included When the overcloud includes manila-cephfsnative-config.yaml, we don't have to execute the ganesha related set of tasks. This change just fixes this use case. Closes-Bug: #1951949 Change-Id: Ib725373bbff8bf13113a9435c50da6da801a31e4 --- tripleo_ansible/playbooks/cephadm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tripleo_ansible/playbooks/cephadm.yml b/tripleo_ansible/playbooks/cephadm.yml index a5a805598..d421f7a86 100644 --- a/tripleo_ansible/playbooks/cephadm.yml +++ b/tripleo_ansible/playbooks/cephadm.yml @@ -71,6 +71,8 @@ include_role: name: tripleo_cephadm tasks_from: nfs + when: + - groups['ceph_nfs'] | default([]) | length > 0 when: - cephfs_data_pool is defined - cephfs_metadata_pool is defined