From 6345ea29255d2eb40f1c3cefd704b7facd98f842 Mon Sep 17 00:00:00 2001 From: Richlv Date: Thu, 24 Jan 2019 22:30:12 +0200 Subject: [PATCH] Fix example, clarify "macro_name" syntax (#51129) * Fix the macro name in example to use allowed characters. * Clarify on the syntax for the "macro_name" parameter. --- lib/ansible/modules/monitoring/zabbix/zabbix_hostmacro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/monitoring/zabbix/zabbix_hostmacro.py b/lib/ansible/modules/monitoring/zabbix/zabbix_hostmacro.py index 358c11791e3..e3cbcf0b74b 100644 --- a/lib/ansible/modules/monitoring/zabbix/zabbix_hostmacro.py +++ b/lib/ansible/modules/monitoring/zabbix/zabbix_hostmacro.py @@ -33,7 +33,7 @@ options: required: true macro_name: description: - - Name of the host macro. + - Name of the host macro without the enclosing curly braces and the leading dollar sign. required: true macro_value: description: @@ -66,7 +66,7 @@ EXAMPLES = ''' login_user: username login_password: password host_name: ExampleHost - macro_name: Example macro + macro_name: EXAMPLE.MACRO macro_value: Example value state: present '''