Skip to content

Commit

Permalink
Remove all plugin registries
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 7, 2022
1 parent 7b4db9e commit 151db33
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/kiss/tasks/commission/storage-cleanup-csi-rook-ceph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@
state: absent
force: true
with_items: "{{ results.files }}"

- name: List all plugin registries
find:
paths:
- /var/lib/kubelet/plugins_registry/
pattern: rook-ceph.*
register: results

- name: Remove plugin registries
file:
path: "{{ item.path }}"
state: absent
force: true
with_items: "{{ results.files }}"

0 comments on commit 151db33

Please sign in to comment.