Project

General

Profile

Revision 848bda6e

ID848bda6e7c3511f395716ec6386a6aa28dfe681c
Parent 7e59afab
Child 7aaaf911

Added by Marc Dequènes (Duck) 4 months ago

enable selinux/zabbix_run_sudo for recent CentOS

View differences:

tasks/_agent.yml
87 87
    name: zabbix_run_sudo
88 88
    state: yes
89 89
    persistent: yes
90
  when: ansible_distribution == 'Fedora' and ansible_distribution_major_version >= '28'
90
  when: (ansible_distribution == 'Fedora' and ansible_distribution_major_version >= '28') or (ansible_distribution == "CentOS" and ansible_distribution_version is version_compare('7.5', '>='))
91 91

  
92 92
- name: Ensure the Agent can poll anything needed (aka SELinux is too restrictive)
93 93
  selinux_permissive:

Also available in: Unified diff