Remove the task that stops the exporter.
This commit is contained in:
parent
f3b048a8b2
commit
1fa3343662
|
@ -68,13 +68,3 @@
|
|||
when: mongodb_prometheus_exporter_enabled
|
||||
tags: [ 'mongodb', 'prometheus', 'mongodb_prometheus' ]
|
||||
|
||||
- name: No mongodb exporter
|
||||
block:
|
||||
- name: Ensure that prometheus mongodb_exporter is stopped and disabled
|
||||
ansible.builtin.service:
|
||||
name: mongodb_exporter
|
||||
state: stopped
|
||||
enabled: no
|
||||
|
||||
when: not mongodb_prometheus_exporter_enabled
|
||||
tags: [ 'mongodb', 'prometheus', 'mongodb_prometheus' ]
|
||||
|
|
Loading…
Reference in New Issue