Skip to content

Commit

Permalink
purge: only purge specific directories for mon
Browse files Browse the repository at this point in the history
Handles the case when a mon is collocated with an OSD.

Closes: #1877
Signed-off-by: Sébastien Han <seb@redhat.com>
  • Loading branch information
leseb committed Sep 13, 2017
1 parent f67b47d commit ba3e3b6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion infrastructure-playbooks/purge-cluster.yml
Expand Up @@ -450,8 +450,17 @@

- name: remove monitor store and bootstrap keys
file:
path: /var/lib/ceph/
path: "{{ item }}"
state: absent
with_items:
- /var/lib/ceph/mon
- /var/lib/ceph/bootstrap-mds
- /var/lib/ceph/bootstrap-osd
- /var/lib/ceph/bootstrap-rgw
- /var/lib/ceph/bootstrap-rbd
- /var/lib/ceph/bootstrap-mgr
- /var/lib/ceph/tmp


- name: purge iscsi gateway(s)

Expand Down

0 comments on commit ba3e3b6

Please sign in to comment.