diff --git a/plugins/modules/api.py b/plugins/modules/api.py index 3ba80d2..ea667a5 100644 --- a/plugins/modules/api.py +++ b/plugins/modules/api.py @@ -246,7 +246,9 @@ RETURN = ''' --- message: description: All outputs are in list with dictionary elements returned from RouterOS api. - sample: C([{...},{...}]) + sample: + - address: 1.2.3.4 + - address: 2.3.4.5 type: list returned: always ''' diff --git a/plugins/modules/api_facts.py b/plugins/modules/api_facts.py index 7209f2a..7db910c 100644 --- a/plugins/modules/api_facts.py +++ b/plugins/modules/api_facts.py @@ -38,7 +38,8 @@ options: Values can also be used with an initial C(!) to specify that a specific subset should not be collected. required: false - default: 'all' + default: + - all type: list elements: str seealso: diff --git a/plugins/modules/facts.py b/plugins/modules/facts.py index 383f940..cefaf5c 100644 --- a/plugins/modules/facts.py +++ b/plugins/modules/facts.py @@ -28,7 +28,8 @@ options: Values can also be used with an initial C(!) to specify that a specific subset should not be collected. required: false - default: '!config' + default: + - '!config' type: list elements: str seealso: