purge-cluster: recursively remove ceph-related files, symlinks and directories under /etc/systemd/system.

fix: https://github.com/ceph/ceph-ansible/issues/3166

Signed-off-by: wumingqiao <wumingqiao@beyondcent.com>
pull/3150/head
wumingqiao 2018-09-28 16:58:56 +08:00 committed by Sébastien Han
parent 9fe86c2268
commit 5da71e1ca1
1 changed files with 2 additions and 0 deletions

View File

@ -633,6 +633,8 @@
find:
paths: "/etc/systemd/system"
pattern: "ceph*"
recurse: true
file_type: any
register: systemd_files
- name: remove ceph systemd unit files