mirror of https://github.com/ceph/ceph-ansible.git
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
parent
7ca2bddcce
commit
26bdd59f5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue