mirror of https://github.com/ceph/ceph-ansible.git
cephadm-adopt: remove prometheus workaround
This was fixed by [1][2] [1] https://tracker.ceph.com/issues/45120 [2] https://github.com/ceph/ceph/commit/252d4b30 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/6264/head v6.0.0
parent
d42d584085
commit
950a6ae406
|
@ -959,15 +959,6 @@
|
||||||
path: /var/lib/prom_metrics
|
path: /var/lib/prom_metrics
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
# (workaround) https://tracker.ceph.com/issues/45120
|
|
||||||
- name: create missing prometheus target directory
|
|
||||||
file:
|
|
||||||
path: '/var/lib/ceph/{{ fsid }}/prometheus.{{ ansible_hostname }}/etc/prometheus'
|
|
||||||
state: directory
|
|
||||||
owner: 65534
|
|
||||||
group: 65534
|
|
||||||
recurse: true
|
|
||||||
|
|
||||||
- name: adopt prometheus daemon
|
- name: adopt prometheus daemon
|
||||||
cephadm_adopt:
|
cephadm_adopt:
|
||||||
name: "prometheus.{{ ansible_hostname }}"
|
name: "prometheus.{{ ansible_hostname }}"
|
||||||
|
|
Loading…
Reference in New Issue