zabbix: drop changes to /run dir

This was just added to help debug some startup problems, so we can drop
it now. Also, it causes the playbook to be non idempotent (ie, this task
runs and changes everytime the playbook it run, causing a lot of noise
in the check/diff runs).
/run/zabbix should get created by systemd, so no need to muck with it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-10-09 08:52:25 -07:00
parent c7b8abd284
commit 967dc9ab91
2 changed files with 0 additions and 20 deletions

View file

@ -85,17 +85,6 @@
tags:
- zabbix_agent
- name: Set ownership on /var/run/zabbix/
ansible.builtin.file:
path: /var/run/zabbix/
state: directory
recurse: yes
mode: 0770
owner: zabbix
group: zabbix
tags:
- zabbix_agent
- name: Ensuring we have a directory to put zabbix logs
file:
state: directory

View file

@ -46,15 +46,6 @@
tags:
- zabbix-configuration
- name: Set ownership on /var/run/zabbix/
ansible.builtin.file:
path: /var/run/zabbix/
state: directory
recurse: yes
mode: 0770
owner: zabbix
group: zabbix
- name: Set ownership on /etc/zabbix/web/
ansible.builtin.file:
path: /etc/zabbix/web