From 7f92aa0854c8b96f921d9ab81fb5cb08f1733233 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 16 Dec 2020 08:06:43 +0100 Subject: [PATCH] Icinga doc fix (#1495) (#1496) * Document it is a dictionary to reduce confusion. * Add variable example (cherry picked from commit 757427cadf36e4165a6e3211ff2330c571a4f76f) Co-authored-by: Erinn Looney-Triggs --- plugins/modules/monitoring/icinga2_host.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/modules/monitoring/icinga2_host.py b/plugins/modules/monitoring/icinga2_host.py index e2acdb2a6a..65c95812ca 100644 --- a/plugins/modules/monitoring/icinga2_host.py +++ b/plugins/modules/monitoring/icinga2_host.py @@ -102,7 +102,7 @@ options: variables: type: dict description: - - List of variables. + - Dictionary of variables. extends_documentation_fragment: - url ''' @@ -116,6 +116,8 @@ EXAMPLES = ''' state: present name: "{{ ansible_fqdn }}" ip: "{{ ansible_default_ipv4.address }}" + variables: + foo: "bar" delegate_to: 127.0.0.1 '''