2024-11-27 13:48:08 +10:00
|
|
|
---
|
2021-03-16 14:30:43 +01:00
|
|
|
- name: restart_zabbix_agent
|
|
|
|
service: name=zabbix-agent state=restarted
|
|
|
|
|
|
|
|
- name: reload custom selinux files
|
2024-12-19 16:42:30 +10:00
|
|
|
ansible.builtin.shell: /usr/sbin/semodule -u "/etc/selinux/centos/centos-zabbix-agent.pp"
|
2021-03-16 14:30:43 +01:00
|
|
|
when: ansible_selinux.mode == "enforcing"
|