Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
441 B

---
- name: Relaxe SELinux restrictions for Zabbix Agent
selinux_permissive: name=zabbix_agent_t permissive=True
tags: zabbix
- name: Allow Zabbix to use sudo
seboolean: name={{ item }} state=True persistent=True
with_items:
- zabbix_run_sudo
when: ansible_distribution != 'CentOS' or ansible_distribution_version | default(0) is version('7.6', '>=') # This bool is only available for CentOS 7.6.1810 or newer
tags: zabbix