add: vault pki basics

This commit is contained in:
2023-03-28 09:18:24 +02:00
parent 63f70d07c7
commit 8ae16a65df
9 changed files with 687 additions and 0 deletions

View 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