mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 06:58:34 +01:00
add: vault pki basics
This commit is contained in:
25
roles/zabbix-agent/tasks/main.yaml
Normal file
25
roles/zabbix-agent/tasks/main.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
- name: Install zabbix Agent
|
||||
apt:
|
||||
pkg:
|
||||
- zabbix-agent
|
||||
notify:
|
||||
- restart zabbix-agent
|
||||
|
||||
- name: Copy agent conf file
|
||||
template:
|
||||
src: zabbix_agentd.conf
|
||||
dest: /etc/zabbix/zabbix_agentd.conf
|
||||
owner: zabbix
|
||||
notify:
|
||||
- restart zabbix-agent
|
||||
|
||||
- name: Create legacy directories for backwards compability
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: zabbix
|
||||
with_items:
|
||||
- /var/log/zabbix-agent/
|
||||
- /etc/zabbix/zabbix_agentd.conf.d
|
||||
notify:
|
||||
- restart zabbix-agent
|
||||
Reference in New Issue
Block a user