Zabbix: Fix issue with missing zabbix user in early role

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2025-10-02 12:48:51 +01:00
commit 14c193e019
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0

View file

@ -31,13 +31,13 @@
- postfix
- zabbix_agent
# On a fresh install, the zabbix user won't exist yet
# so don't try to set it here. The agent role will fix it later
- name: Ensure Zabbix drop-in directory
file:
path: /etc/zabbix/zabbix_agentd.d
state: directory
mode: '0755'
owner: zabbix
group: zabbix
- name: Install Zabbix agent config drop-in
ansible.builtin.copy: