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