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 authored and guits committed Mar 10, 2024
1 parent bed3f86 commit 363fdb2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion roles/ceph-handler/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 363fdb2

Please sign in to comment.