ceph-handler: remove tempdir when all handlers are done

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
pull/7481/head
Seena Fallah 2024-02-16 11:30:07 +01:00 committed by Guillaume Abrioux
parent 3f137f3b22
commit 29b64ec974
1 changed files with 10 additions and 1 deletions

View File

@ -78,4 +78,13 @@
- "Restart ceph rbdmirrors" - "Restart ceph rbdmirrors"
- "Restart ceph mgrs" - "Restart ceph mgrs"
register: tmpdirpath 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