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 <gabrioux@redhat.com>
pull/7374/head v4.0.70.21
Guillaume Abrioux 2023-01-03 13:41:51 +01:00
parent 2c94bac7db
commit 534fdd9958
1 changed files with 2 additions and 0 deletions

View File

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