Replaces references to shell: with ansible.builtin.shell Signed-off-by: Ryan Lerch <rlerch@redhat.com>
7 lines
251 B
YAML
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"
|