From 4a5809f11132dd759e748beaa22b659769361bdd Mon Sep 17 00:00:00 2001 From: Richlv Date: Mon, 19 Feb 2018 18:25:38 +0200 Subject: [PATCH] Update zabbix_host.py (#36127) fix tls documentation; minor style fixes --- lib/ansible/modules/monitoring/zabbix/zabbix_host.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/monitoring/zabbix/zabbix_host.py b/lib/ansible/modules/monitoring/zabbix/zabbix_host.py index dd66e1c8b1..1a9a5a2d0d 100644 --- a/lib/ansible/modules/monitoring/zabbix/zabbix_host.py +++ b/lib/ansible/modules/monitoring/zabbix/zabbix_host.py @@ -76,7 +76,7 @@ options: default: 'present' proxy: description: - - The name of the Zabbix Proxy to be used + - The name of the Zabbix proxy to be used. default: None interfaces: description: @@ -90,9 +90,7 @@ options: tls_connect: description: - Specifies what encryption to use for outgoing connections. - - The tls_connect parameter accepts values of 1 to 7 - Possible values, 1 (no encryption), 2 (PSK), 4 (certificate). - - Values can be combined. - Works only with >= Zabbix 3.0 default: 1 version_added: '2.5' @@ -107,13 +105,13 @@ options: version_added: '2.5' tls_psk_identity: description: - - PSK value is a hard to guess string of hexadecimal digits. - It is a unique name by which this specific PSK is referred to by Zabbix components - - Do not put sensitive information in PSK identity string, it is transmitted over the network unencrypted. + - Do not put sensitive information in the PSK identity string, it is transmitted over the network unencrypted. - Works only with >= Zabbix 3.0 version_added: '2.5' tls_psk: description: + - PSK value is a hard to guess string of hexadecimal digits. - The preshared key, at least 32 hex digits. Required if either tls_connect or tls_accept has PSK enabled. - Works only with >= Zabbix 3.0 version_added: '2.5' @@ -159,7 +157,7 @@ options: version_added: '2.5' force: description: - - Overwrite the host configuration, even if already present + - Overwrite the host configuration, even if already present. default: 'yes' choices: [ 'yes', 'no' ] version_added: '2.0'