mirror of https://github.com/ceph/ceph-ansible.git
purge: remove /var/lib/ceph
This directory should be removed when the cluster is purged. most of the services are started with the `--security-opt label=disable` option. If the directory is not removed, it can cause SElinux issues when the cluster is redeployed. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/7431/head
parent
5cd692dcdc
commit
23a8bbc6c5
|
@ -1088,6 +1088,11 @@
|
||||||
shell: rm -rf /var/lib/ceph/* # noqa 302
|
shell: rm -rf /var/lib/ceph/* # noqa 302
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
- name: remove /var/lib/ceph
|
||||||
|
file:
|
||||||
|
path: /var/lib/ceph
|
||||||
|
state: absent
|
||||||
|
|
||||||
# (todo): remove this when we are able to manage docker
|
# (todo): remove this when we are able to manage docker
|
||||||
# service on atomic host.
|
# service on atomic host.
|
||||||
- name: remove docker data
|
- name: remove docker data
|
||||||
|
|
Loading…
Reference in New Issue