Icinga doc fix (#1495)

* Document it is a dictionary to reduce confusion.

* Add variable example
pull/876/head
Erinn Looney-Triggs 2020-12-15 23:27:24 -07:00 committed by GitHub
parent 19a5975181
commit 757427cadf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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
'''