zabbix: add task to copy tls config for zabbix-agentd
Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
parent
91c1a8cafc
commit
2f8125caf2
1 changed files with 10 additions and 0 deletions
|
@ -49,6 +49,16 @@
|
|||
dest: "{{ zabbix_agentd }}"
|
||||
notify: restart_zabbix_agent
|
||||
|
||||
- name: Copy zabbix-agend.conf psk config
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: /etc/zabbix/fedora.psk
|
||||
owner: zabbix
|
||||
group: zabbix
|
||||
mode: 0600
|
||||
with_fileglob:
|
||||
- "{{ private }}/files/zabbix/fedora{{env_suffix}}.psk"
|
||||
|
||||
- name: Ensuring we have a directory to put zabbix scripts
|
||||
file:
|
||||
state: directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue