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:
parent
c7b8abd284
commit
967dc9ab91
2 changed files with 0 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue