Merge pull request #1892 from ceph/purge-dmcrypt-col

purge: only purge specific directories for mon
pull/1893/head v3.0.0rc8
Sébastien Han 2017-09-13 17:57:06 -06:00 committed by GitHub
commit fe1d84d395
1 changed files with 10 additions and 1 deletions

View File

@ -450,8 +450,17 @@
- name: remove monitor store and bootstrap keys - name: remove monitor store and bootstrap keys
file: file:
path: /var/lib/ceph/ path: "{{ item }}"
state: absent 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) - name: purge iscsi gateway(s)