diff --git a/roles/zabbix_web/tasks/selinux.yml b/roles/zabbix_web/tasks/selinux.yml index 2a18fe189..debae80fb 100644 --- a/roles/zabbix_web/tasks/selinux.yml +++ b/roles/zabbix_web/tasks/selinux.yml @@ -1,9 +1,8 @@ --- -- name: "SELinux | RedHat | Install related SELinux package on RHEL9 and RHEL8" - ansible.builtin.yum: +- name: "SELinux | Install related SELinux package" + ansible.builtin.package: name: - python3-libsemanage - state: present environment: http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}" https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}"