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