From 534fdd9958f51af9570b342ad706cf0d358afb4c Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 3 Jan 2023 13:41:51 +0100 Subject: [PATCH] facts: fsid tasks when deploying clients Ceph with external cluster These tasks are unnecessary executed when deploying client nodes on an external Ceph cluster. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2151285 Signed-off-by: Guillaume Abrioux --- roles/ceph-facts/tasks/facts.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ceph-facts/tasks/facts.yml b/roles/ceph-facts/tasks/facts.yml index 0c2d4041c1..0e988190c5 100644 --- a/roles/ceph-facts/tasks/facts.yml +++ b/roles/ceph-facts/tasks/facts.yml @@ -179,6 +179,8 @@ - name: fsid related tasks when: + - groups[mon_group_name] is defined + - groups[mon_group_name] | length > 0 - generate_fsid | bool - current_fsid.rc != 0 - not rolling_update | bool