Skip to content

Commit

Permalink
Swap tls connect/accept parameters when creating proxy (#847)
Browse files Browse the repository at this point in the history
* Swap tls connect/accept parameters when creating proxy

.. at least on the backend #526

* Added changelog for #526

* Improve changelog as per @BGmot comment

Co-authored-by: Evgeny <ey@bgmot.com>

Co-authored-by: Evgeny <ey@bgmot.com>
  • Loading branch information
maxxer and BGmot committed Nov 25, 2022
1 parent e9be55f commit 736b4e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- zabbix_proxy - correctly provision tls_accept and tls_connect on Zabbix backend
4 changes: 2 additions & 2 deletions roles/zabbix_proxy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
tls_psk: "{{ zabbix_proxy_tlspsk_secret | default(omit) }}"
tls_psk_identity: "{{ zabbix_proxy_tlspskidentity | default(omit) }}"
tls_subject: "{{ zabbix_proxy_tls_subject | default(omit) }}"
tls_accept: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsaccept if zabbix_proxy_tlsaccept else 'no_encryption'] }}"
tls_connect: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsconnect if zabbix_proxy_tlsconnect else 'no_encryption'] }}"
tls_connect: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsaccept if zabbix_proxy_tlsaccept else 'no_encryption'] }}"
tls_accept: "{{ zabbix_proxy_tls_config[zabbix_proxy_tlsconnect if zabbix_proxy_tlsconnect else 'no_encryption'] }}"
when:
- zabbix_api_create_proxy | bool
delegate_to: "{{ zabbix_api_server_host }}"
Expand Down

0 comments on commit 736b4e0

Please sign in to comment.