ceph-handler: remove tempdir when all handlers are done

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
pull/7558/head
Seena Fallah 2024-02-16 11:30:07 +01:00 committed by Guillaume Abrioux
parent c2f6f0c621
commit 2b711f7601
1 changed files with 13 additions and 1 deletions

View File

@ -88,4 +88,16 @@
- "restart ceph rbdmirrors"
- "restart ceph mgrs"
register: tmpdirpath
when: tmpdirpath.path is defined
when:
- tmpdirpath.path is defined
- not _crash_handler_called | default(false) | bool
- not _mds_handler_called | default(false) | bool
- not _mgr_handler_called | default(false) | bool
- not _mon_handler_called | default(false) | bool
- not _nfs_handler_called | default(false) | bool
- not _osd_handler_called | default(false) | bool
- not _rbdmirror_handler_called | default(false) | bool
- not _rgw_handler_called | default(false) | bool
- not _rbd_target_api_handler_called | default(false) | bool
- not _tcmu_runner_handler_called | default(false) | bool
- not _rbd_target_gw_handler_called | default(false) | bool