Commit 0d072329 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

purge: rm service-cid files

This commit makes sure purge playbooks remove those file if for any reason they
have been left.


Signed-off-by: default avatarGuillaume Abrioux <>
(cherry picked from commit b9dd253a)
parent 932abbc8
......@@ -640,6 +640,27 @@
ansible_os_family == 'RedHat' and
not is_atomic
- name: find any service-cid file left
paths: /run
- "ceph-*.service-cid"
- "rbd-target-api.service-cid"
- "rbd-target-gw.service-cid"
- "tcmu-runner.service-cid"
- "node_exporter.service-cid"
- "prometheus.service-cid"
- "grafana-server.service-cid"
- "alertmanager.service-cid"
register: service_cid_files
- name: rm any service-cid file
path: "{{ item.path }}"
state: absent
with_items: "{{ service_cid_files.files }}"
- name: purge ceph directories
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment