ansible/roles/zabbix/zabbix_agent/handlers/main.yml
Ryan Lerch 3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10:00

7 lines
251 B
YAML

---
- name: restart_zabbix_agent
service: name=zabbix-agent state=restarted
- name: reload custom selinux files
ansible.builtin.shell: /usr/sbin/semodule -u "/etc/selinux/centos/centos-zabbix-agent.pp"
when: ansible_selinux.mode == "enforcing"