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
(cherry picked from commit 646893e967)
This commit is contained in:
Francesco Pantano 2021-11-23 13:28:37 +01:00
parent fd6466dae9
commit 44861f398a
1 changed files with 2 additions and 0 deletions

View File

@ -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