mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-12 21:32:48 +01:00
build
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
- name: Set proxy group name
|
||||
set_fact:
|
||||
clustename: "alma10"
|
||||
|
||||
|
||||
- name: Allow user to start/stop zabbix-proxy with sudo without password
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/sudoers.d/{{ zabbix_user }}-zabbix-proxy"
|
||||
@@ -124,7 +124,15 @@
|
||||
recurse: yes
|
||||
when: zabbix_db_type == "sqlite"
|
||||
|
||||
|
||||
- name: Configure firewall for Zabbix Proxy
|
||||
when: ansible_os_family == "RedHat"
|
||||
block:
|
||||
- name: Open port 10051/tcp
|
||||
ansible.posix.firewalld:
|
||||
port: 10051/tcp
|
||||
permanent: true
|
||||
state: enabled
|
||||
immediate: true
|
||||
# ==========================================================
|
||||
# MySQL setup
|
||||
# ==========================================================
|
||||
|
||||
Reference in New Issue
Block a user