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
Sébastien Han 2017-07-25 12:04:57 +02:00
parent cfd7ae87e4
commit 0c18cf199e
1 changed files with 5 additions and 1 deletions

View File

@ -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