roles/collectd: install collectd-disk on F25+
Plugin was split into a subpackage in F25.
This commit is contained in:
parent
92933addc1
commit
a34ed59a8c
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,13 @@
|
||||||
- collectd
|
- collectd
|
||||||
when: ansible_distribution_major_version|int > 21
|
when: ansible_distribution_major_version|int > 21
|
||||||
|
|
||||||
|
# install collectd-disk on F25+ (it was split out)
|
||||||
|
- name: install collectd-disk
|
||||||
|
dnf: name=collectd-disk state=present
|
||||||
|
tags:
|
||||||
|
- collectd
|
||||||
|
when: ansible_distribution_major_version|int > 24
|
||||||
|
|
||||||
# enable collectd
|
# enable collectd
|
||||||
- name: enable collectd svc
|
- name: enable collectd svc
|
||||||
service: state=running enabled=true name=collectd
|
service: state=running enabled=true name=collectd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue