configpolicy/roles/collectd-prometheus/handlers/main.yml

9 lines
185 B
YAML

- name: install collectd-local selinux module
command:
semodule -i /var/lib/selinux/collectd-local.pp
- name: restart collectd
service:
name: collectd
state: restarted