Signed-off-by: Boris Ranto <branto@redhat.com>
- python-carbon
- grafana
- cephmetrics
+ - prometheus
- name: Remove files
file:
- /tmp/dashUpdater.py
- /tmp/dashboards
-- name: purge collectd hosts
+ - name: Remove containers
+ docker_container:
+ name: "{{ item }}"
+ state: absent
+ with_items:
+ - grafana-server
+ - prometheus
+
+- name: purge all the hosts
hosts:
# These are roles used by ceph-ansible
- mons
with_items:
- cephmetrics-collectors
- collectd
+ - prometheus-node_exporter
- name: Remove files
file:
- /etc/collectd.conf
- /etc/yum.repos.d/cephmetrics.repo
- /usr/lib64/collectd
+ - /usr/local/sbin/node_exporter