mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user