From 757427cadf36e4165a6e3211ff2330c571a4f76f Mon Sep 17 00:00:00 2001
From: Erinn Looney-Triggs <erinn@users.noreply.github.com>
Date: Tue, 15 Dec 2020 23:27:24 -0700
Subject: [PATCH] Icinga doc fix (#1495)

* Document it is a dictionary to reduce confusion.

* Add variable example
---
 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
 '''