From 5a4690f1493f1b66afec34eb5181a062775787d0 Mon Sep 17 00:00:00 2001 From: Lucas <116588+hairmare@users.noreply.github.com> Date: Sun, 1 Dec 2024 15:24:47 +0100 Subject: [PATCH] fix(agent): activate tls for psk mode (#37) --- roles/agent/tasks/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/agent/tasks/main.yaml b/roles/agent/tasks/main.yaml index 7c0cc64..025010a 100644 --- a/roles/agent/tasks/main.yaml +++ b/roles/agent/tasks/main.yaml @@ -73,6 +73,9 @@ # environment specific zabbix_agent_server: "{{ radiorabe_zabbix_agent_server }}" zabbix_agent_serveractive: "{{ radiorabe_zabbix_agent_serveractive }}" + # psk + zabbix_agent_tlsaccept: "{{ _radiorabe_zabbix_agent_zabbix_agent_tls }}" + zabbix_agent_tlsconnect: "{{ _radiorabe_zabbix_agent_zabbix_agent_tls }}" ansible.builtin.include_role: name: "{{ _radiorabe_zabbix_agent_zabbix_agent_rolename }}" when: _radiorabe_zabbix_agent_zabbix_agent_tls == "psk"