purge-cluster: we don't support sysv or upstart anymore

Now that ceph-ansible only supports > jewel we don't need
to bother with sysv or upstart

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1464/head
Andrew Schoen 2017-04-21 15:14:38 -07:00
parent 7ca2bddcce
commit 26bdd59f5d
1 changed files with 0 additions and 13 deletions

View File

@ -481,19 +481,6 @@
path: /var/log/ceph
state: absent
- name: remove from sysv
shell: "update-rc.d -f ceph remove"
when: ansible_service_mgr == 'sysvinit'
- name: remove upstart and sysv files
shell: "find /etc -name '*ceph*' -delete"
when: ansible_service_mgr == 'upstart'
- name: remove upstart and apt logs and cache
shell: "find /var -name '*ceph*' -delete"
failed_when: false
when: ansible_distribution == 'Ubuntu'
- name: request data removal
local_action: shell echo requesting data removal
become: false