mirror of https://github.com/ceph/ceph-ansible.git
purge: remove leftover unit files
Closes https://github.com/ceph/ceph-ansible/issues/1672 Signed-off-by: Sébastien Han <seb@redhat.com>pull/1709/head
parent
cfd7ae87e4
commit
0c18cf199e
|
@ -77,7 +77,6 @@
|
|||
failed_when: false
|
||||
when: ansible_service_mgr == 'upstart'
|
||||
|
||||
|
||||
- name: purge ceph rgw cluster
|
||||
|
||||
vars:
|
||||
|
@ -511,6 +510,11 @@
|
|||
register: check_for_running_ceph
|
||||
failed_when: check_for_running_ceph.rc == 0
|
||||
|
||||
- name: remove ceph systemd unit files
|
||||
shell: rm -rf /etc/systemd/system/ceph*
|
||||
changed_when: false
|
||||
when: ansible_service_mgr == 'systemd'
|
||||
|
||||
|
||||
- name: purge fetch directory
|
||||
|
||||
|
|
Loading…
Reference in New Issue