iad2: log02.iad2. Seems we do not have collectd-ping, or collectd-rabbitmq in epel8 yet

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-08 15:39:28 -07:00
parent 927ff7f17c
commit 330a0d8405

View file

@ -2,7 +2,7 @@
# collectd server setup # collectd server setup
# install pkg # install pkg
- name: install collectd server packages - name: install collectd server packages (rhel 7)
package: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- collectd-rrdtool - collectd-rrdtool
@ -14,6 +14,19 @@
tags: tags:
- config - config
- collectd/server - collectd/server
when: ansible_distribution_major_version|int == 7
- name: install collectd server packages (rhel 8)
package: name={{ item }} state=present
with_items:
- collectd-rrdtool
- collectd-web
notify:
- restart collectd
tags:
- config
- collectd/server
when: ansible_distribution_major_version|int == 8
# install collectd ping config # install collectd ping config
- name: install collectd ping config - name: install collectd ping config