ansible/playbooks/00_install_zabbix_server_cert.yml
ladislav.dusa afc7817a81 conf added
2024-12-11 16:33:42 +01:00

16 lines
512 B
YAML
Executable File

- hosts: datacenter
name: Install zabbix agent
become: true
tasks:
- name: Creating a file with content
copy:
dest: "/usr/share/zabbix/conf/certs/idp.crt"
content: "{{ ZABBIX_IDP_CERT }}"
- name: Creating a file with content
copy:
dest: "/usr/share/zabbix/conf/certs/sp.key"
content: "{{ ZABBIX_AUTH_KEY }}"
- name: Creating a file with content
copy:
dest: "/usr/share/zabbix/conf/certs/sp.crt"
content: "{{ ZABBIX_AUTH_CERT }}"