Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 736b4e0

Browse files
maxxerBGmot
andauthored
Swap tls connect/accept parameters when creating proxy (ansible-collections#847)
* Swap tls connect/accept parameters when creating proxy .. at least on the backend ansible-collections#526 * Added changelog for ansible-collections#526 * Improve changelog as per @BGmot comment Co-authored-by: Evgeny <[email protected]> Co-authored-by: Evgeny <[email protected]>
1 parent e9be55f commit 736b4e0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- zabbix_proxy - correctly provision tls_accept and tls_connect on Zabbix backend

roles/zabbix_proxy/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
tls_psk: "{{ zabbix_proxy_tlspsk_secret | default(omit) }}"
117117
tls_psk_identity: "{{ zabbix_proxy_tlspskidentity | default(omit) }}"
118118
tls_subject: "{{ zabbix_proxy_tls_subject | default(omit) }}"
119-
tls_accept: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsaccept if zabbix_proxy_tlsaccept else 'no_encryption'] }}"
120-
tls_connect: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsconnect if zabbix_proxy_tlsconnect else 'no_encryption'] }}"
119+
tls_connect: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsaccept if zabbix_proxy_tlsaccept else 'no_encryption'] }}"
120+
tls_accept: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsconnect if zabbix_proxy_tlsconnect else 'no_encryption'] }}"
121121
when:
122122
- zabbix_api_create_proxy | bool
123123
delegate_to: "{{ zabbix_api_server_host }}"

0 commit comments

Comments
 (0)