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>
shell: rm -rf /var/lib/ceph/* # noqa 302
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
# service on atomic host.
- name: remove docker data