Skip to content

Commit

Permalink
ceph-handler: remove tempdir when all handlers are done
Browse files Browse the repository at this point in the history
Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw committed Feb 16, 2024
1 parent df424d8 commit fae88ef
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion roles/ceph-handler/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,13 @@
- "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

0 comments on commit fae88ef

Please sign in to comment.