From e5da25915d2153001f0794b2b317a2a1f4f824c0 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 28 Sep 2020 21:21:51 +0200 Subject: [PATCH] Improve plugin sanity (#966) * callback_type -> type. * Mark authors as unknown. * Add author field forgotten in #627. * Fix author entries. * Add author field forgotten in #127. * Fix some types. --- plugins/cache/memcached.py | 1 + plugins/cache/redis.py | 1 + plugins/callback/actionable.py | 1 + plugins/callback/cgroup_memory_recap.py | 3 ++- plugins/callback/context_demo.py | 1 + plugins/callback/counter_enabled.py | 1 + plugins/callback/diy.py | 2 +- plugins/callback/full_skip.py | 1 + plugins/callback/hipchat.py | 3 ++- plugins/callback/jabber.py | 1 + plugins/callback/log_plays.py | 1 + plugins/callback/logdna.py | 3 ++- plugins/callback/logentries.py | 1 + plugins/callback/logstash.py | 1 + plugins/callback/null.py | 3 ++- plugins/callback/say.py | 1 + plugins/callback/selective.py | 3 ++- plugins/callback/slack.py | 3 ++- plugins/callback/splunk.py | 2 +- plugins/callback/stderr.py | 3 ++- plugins/callback/syslog_json.py | 3 ++- plugins/callback/unixy.py | 2 +- plugins/callback/yaml.py | 1 + plugins/connection/chroot.py | 2 +- plugins/connection/docker.py | 4 ++-- plugins/connection/iocage.py | 2 +- plugins/connection/lxc.py | 2 +- plugins/connection/lxd.py | 2 +- plugins/connection/oc.py | 2 +- plugins/inventory/cobbler.py | 1 + plugins/inventory/nmap.py | 1 + plugins/inventory/virtualbox.py | 1 + plugins/lookup/cartesian.py | 4 +++- plugins/lookup/chef_databag.py | 1 + plugins/lookup/consul_kv.py | 1 + plugins/lookup/credstash.py | 1 + plugins/lookup/cyberarkpassword.py | 1 + plugins/lookup/etcd.py | 2 +- plugins/lookup/etcd3.py | 2 +- plugins/lookup/flattened.py | 2 +- plugins/lookup/gcp_storage_file.py | 2 +- plugins/lookup/hashi_vault.py | 2 +- plugins/lookup/keyring.py | 2 +- plugins/lookup/lastpass.py | 2 +- plugins/lookup/manifold.py | 2 +- plugins/lookup/nios.py | 3 ++- plugins/lookup/nios_next_ip.py | 1 + plugins/lookup/nios_next_network.py | 1 + plugins/lookup/passwordstore.py | 2 +- plugins/lookup/redis.py | 2 +- plugins/lookup/shelvefile.py | 2 +- 51 files changed, 63 insertions(+), 31 deletions(-) diff --git a/plugins/cache/memcached.py b/plugins/cache/memcached.py index 9b3c319e85..f73dba845e 100644 --- a/plugins/cache/memcached.py +++ b/plugins/cache/memcached.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) cache: memcached short_description: Use memcached DB for cache description: diff --git a/plugins/cache/redis.py b/plugins/cache/redis.py index 994f3dc11d..37ced1a436 100644 --- a/plugins/cache/redis.py +++ b/plugins/cache/redis.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) cache: redis short_description: Use Redis DB for cache description: diff --git a/plugins/callback/actionable.py b/plugins/callback/actionable.py index ffd7c6545b..8309a846b3 100644 --- a/plugins/callback/actionable.py +++ b/plugins/callback/actionable.py @@ -7,6 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: actionable type: stdout short_description: shows only items that need attention diff --git a/plugins/callback/cgroup_memory_recap.py b/plugins/callback/cgroup_memory_recap.py index bd02ecff1e..a6dace8d7c 100644 --- a/plugins/callback/cgroup_memory_recap.py +++ b/plugins/callback/cgroup_memory_recap.py @@ -7,8 +7,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: cgroup_memory_recap - callback_type: aggregate + type: aggregate requirements: - whitelist in configuration - cgroups diff --git a/plugins/callback/context_demo.py b/plugins/callback/context_demo.py index 9485f34f98..d134f616d9 100644 --- a/plugins/callback/context_demo.py +++ b/plugins/callback/context_demo.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: context_demo type: aggregate short_description: demo callback that adds play/task context diff --git a/plugins/callback/counter_enabled.py b/plugins/callback/counter_enabled.py index 0b29bae51a..89c8b0f22f 100644 --- a/plugins/callback/counter_enabled.py +++ b/plugins/callback/counter_enabled.py @@ -8,6 +8,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: counter_enabled type: stdout short_description: adds counters to the output items (tasks and hosts/task) diff --git a/plugins/callback/diy.py b/plugins/callback/diy.py index 7454a05724..d24c91453f 100644 --- a/plugins/callback/diy.py +++ b/plugins/callback/diy.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = r''' callback: diy - callback_type: stdout + type: stdout short_description: Customize the output version_added: 0.2.0 description: diff --git a/plugins/callback/full_skip.py b/plugins/callback/full_skip.py index d37e78767d..9fce697013 100644 --- a/plugins/callback/full_skip.py +++ b/plugins/callback/full_skip.py @@ -7,6 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: full_skip type: stdout short_description: suppresses tasks if all hosts skipped diff --git a/plugins/callback/hipchat.py b/plugins/callback/hipchat.py index 74657e573d..efe4e94e88 100644 --- a/plugins/callback/hipchat.py +++ b/plugins/callback/hipchat.py @@ -6,8 +6,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: hipchat - callback_type: notification + type: notification requirements: - whitelist in configuration. - prettytable (python lib) diff --git a/plugins/callback/jabber.py b/plugins/callback/jabber.py index efe7d9b245..01abde1752 100644 --- a/plugins/callback/jabber.py +++ b/plugins/callback/jabber.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: jabber type: notification short_description: post task events to a jabber server diff --git a/plugins/callback/log_plays.py b/plugins/callback/log_plays.py index 834f3bb8ec..d184b9a86d 100644 --- a/plugins/callback/log_plays.py +++ b/plugins/callback/log_plays.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: log_plays type: notification short_description: write playbook output to log file diff --git a/plugins/callback/logdna.py b/plugins/callback/logdna.py index 4899ecfc70..53bc711432 100644 --- a/plugins/callback/logdna.py +++ b/plugins/callback/logdna.py @@ -5,8 +5,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: logdna - callback_type: aggregate + type: aggregate short_description: Sends playbook logs to LogDNA description: - This callback will report logs from playbook actions, tasks, and events to LogDNA (https://app.logdna.com) diff --git a/plugins/callback/logentries.py b/plugins/callback/logentries.py index 2a132fb155..c6bc9935c6 100644 --- a/plugins/callback/logentries.py +++ b/plugins/callback/logentries.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: logentries type: notification short_description: Sends events to Logentries diff --git a/plugins/callback/logstash.py b/plugins/callback/logstash.py index f9a3d93dec..ad1b2b0fc5 100644 --- a/plugins/callback/logstash.py +++ b/plugins/callback/logstash.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: logstash type: notification short_description: Sends events to Logstash diff --git a/plugins/callback/null.py b/plugins/callback/null.py index d8ae7a8526..e4ef684bed 100644 --- a/plugins/callback/null.py +++ b/plugins/callback/null.py @@ -6,8 +6,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: 'null' - callback_type: stdout + type: stdout requirements: - set as main display callback short_description: Don't display stuff to screen diff --git a/plugins/callback/say.py b/plugins/callback/say.py index b3ba8bc042..fe1a917e37 100644 --- a/plugins/callback/say.py +++ b/plugins/callback/say.py @@ -7,6 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: say type: notification requirements: diff --git a/plugins/callback/selective.py b/plugins/callback/selective.py index 01364e98bb..9521081e5a 100644 --- a/plugins/callback/selective.py +++ b/plugins/callback/selective.py @@ -6,8 +6,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: selective - callback_type: stdout + type: stdout requirements: - set as main display callback short_description: only print certain tasks diff --git a/plugins/callback/slack.py b/plugins/callback/slack.py index 4de59d3fc7..33cee0ac31 100644 --- a/plugins/callback/slack.py +++ b/plugins/callback/slack.py @@ -7,8 +7,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: slack - callback_type: notification + type: notification requirements: - whitelist in configuration - prettytable (python library) diff --git a/plugins/callback/splunk.py b/plugins/callback/splunk.py index 50b277ddcf..68480752e0 100644 --- a/plugins/callback/splunk.py +++ b/plugins/callback/splunk.py @@ -21,7 +21,7 @@ DOCUMENTATION = ''' callback: splunk type: aggregate short_description: Sends task result events to Splunk HTTP Event Collector - author: "Stuart Hirst " + author: "Stuart Hirst (!UNKNOWN) " description: - This callback plugin will send task results as JSON formatted events to a Splunk HTTP collector. - The companion Splunk Monitoring & Diagnostics App is available here "https://splunkbase.splunk.com/app/4023/" diff --git a/plugins/callback/stderr.py b/plugins/callback/stderr.py index 33a295aa2a..9aa0e3fdef 100644 --- a/plugins/callback/stderr.py +++ b/plugins/callback/stderr.py @@ -7,8 +7,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: stderr - callback_type: stdout + type: stdout requirements: - set as main display callback short_description: Splits output, sending failed tasks to stderr diff --git a/plugins/callback/syslog_json.py b/plugins/callback/syslog_json.py index 144a6a1042..dad34c6d05 100644 --- a/plugins/callback/syslog_json.py +++ b/plugins/callback/syslog_json.py @@ -6,8 +6,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: syslog_json - callback_type: notification + type: notification requirements: - whitelist in configuration short_description: sends JSON events to syslog diff --git a/plugins/callback/unixy.py b/plugins/callback/unixy.py index 3bd943ed2b..fa3e6d254f 100644 --- a/plugins/callback/unixy.py +++ b/plugins/callback/unixy.py @@ -9,7 +9,7 @@ __metaclass__ = type DOCUMENTATION = ''' callback: unixy type: stdout - author: Allyson Bowles <@akatch> + author: Allyson Bowles (@akatch) short_description: condensed Ansible output description: - Consolidated Ansible output in the style of LINUX/UNIX startup logs. diff --git a/plugins/callback/yaml.py b/plugins/callback/yaml.py index 4cea0233b9..a89267ccd1 100644 --- a/plugins/callback/yaml.py +++ b/plugins/callback/yaml.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) callback: yaml type: stdout short_description: yaml-ized Ansible screen output diff --git a/plugins/connection/chroot.py b/plugins/connection/chroot.py index 2b64b43b43..7c9aed106f 100644 --- a/plugins/connection/chroot.py +++ b/plugins/connection/chroot.py @@ -9,7 +9,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - author: Maykel Moya + author: Maykel Moya (!UNKNOWN) connection: chroot short_description: Interact with local chroot description: diff --git a/plugins/connection/docker.py b/plugins/connection/docker.py index b8b5c459e5..27c87d7265 100644 --- a/plugins/connection/docker.py +++ b/plugins/connection/docker.py @@ -11,8 +11,8 @@ __metaclass__ = type DOCUMENTATION = ''' author: - - Lorin Hochestein - - Leendert Brouwer + - Lorin Hochestein (!UNKNOWN) + - Leendert Brouwer (!UNKNOWN) connection: docker short_description: Run tasks in docker containers description: diff --git a/plugins/connection/iocage.py b/plugins/connection/iocage.py index d3ec7ce7c8..aafd3a1dc4 100644 --- a/plugins/connection/iocage.py +++ b/plugins/connection/iocage.py @@ -9,7 +9,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - author: Stephan Lohse + author: Stephan Lohse (!UNKNOWN) connection: iocage short_description: Run tasks in iocage jails description: diff --git a/plugins/connection/lxc.py b/plugins/connection/lxc.py index b13f9b145d..b3b68a5164 100644 --- a/plugins/connection/lxc.py +++ b/plugins/connection/lxc.py @@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - author: Joerg Thalheim + author: Joerg Thalheim (!UNKNOWN) connection: lxc short_description: Run tasks in lxc containers via lxc python library description: diff --git a/plugins/connection/lxd.py b/plugins/connection/lxd.py index 720e000ef6..754b4f9dbc 100644 --- a/plugins/connection/lxd.py +++ b/plugins/connection/lxd.py @@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - author: Matt Clay + author: Matt Clay (@mattclay) connection: lxd short_description: Run tasks in lxc containers via lxc CLI description: diff --git a/plugins/connection/oc.py b/plugins/connection/oc.py index 419e324679..4b0353979d 100644 --- a/plugins/connection/oc.py +++ b/plugins/connection/oc.py @@ -22,7 +22,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: - - xuxinkun + - xuxinkun (!UNKNOWN) connection: oc diff --git a/plugins/inventory/cobbler.py b/plugins/inventory/cobbler.py index 966fa3049b..0178c2ee3e 100644 --- a/plugins/inventory/cobbler.py +++ b/plugins/inventory/cobbler.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Orion Poplawski (@opoplawski) name: cobbler plugin_type: inventory short_description: Cobbler inventory source diff --git a/plugins/inventory/nmap.py b/plugins/inventory/nmap.py index c493dfcc6a..6e2efae3b4 100644 --- a/plugins/inventory/nmap.py +++ b/plugins/inventory/nmap.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) name: nmap plugin_type: inventory short_description: Uses nmap to find hosts to target diff --git a/plugins/inventory/virtualbox.py b/plugins/inventory/virtualbox.py index bfcdbc23e7..391a83c925 100644 --- a/plugins/inventory/virtualbox.py +++ b/plugins/inventory/virtualbox.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) name: virtualbox plugin_type: inventory short_description: virtualbox inventory source diff --git a/plugins/lookup/cartesian.py b/plugins/lookup/cartesian.py index 1ffb953dd1..46f192b973 100644 --- a/plugins/lookup/cartesian.py +++ b/plugins/lookup/cartesian.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) lookup: cartesian short_description: returns the cartesian product of lists description: @@ -36,7 +37,8 @@ RETURN = """ _list: description: - list of lists composed of elements of the input lists - type: lists + type: list + elements: list """ from itertools import product diff --git a/plugins/lookup/chef_databag.py b/plugins/lookup/chef_databag.py index 78f1936eea..c3263e8811 100644 --- a/plugins/lookup/chef_databag.py +++ b/plugins/lookup/chef_databag.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) lookup: chef_databag short_description: fetches data from a Chef Databag description: diff --git a/plugins/lookup/consul_kv.py b/plugins/lookup/consul_kv.py index c8406305cc..91c505956a 100644 --- a/plugins/lookup/consul_kv.py +++ b/plugins/lookup/consul_kv.py @@ -6,6 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) lookup: consul_kv short_description: Fetch metadata from a Consul key value store. description: diff --git a/plugins/lookup/credstash.py b/plugins/lookup/credstash.py index 99c9a8ca9b..6ab4d3bc8d 100644 --- a/plugins/lookup/credstash.py +++ b/plugins/lookup/credstash.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) lookup: credstash short_description: retrieve secrets from Credstash on AWS requirements: diff --git a/plugins/lookup/cyberarkpassword.py b/plugins/lookup/cyberarkpassword.py index 6d1323ce4a..449cb91633 100644 --- a/plugins/lookup/cyberarkpassword.py +++ b/plugins/lookup/cyberarkpassword.py @@ -5,6 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' + author: Unknown (!UNKNOWN) lookup: cyberarkpassword short_description: get secrets from CyberArk AIM requirements: diff --git a/plugins/lookup/etcd.py b/plugins/lookup/etcd.py index c693676462..91724df7d5 100644 --- a/plugins/lookup/etcd.py +++ b/plugins/lookup/etcd.py @@ -71,7 +71,7 @@ RETURN = ''' description: - list of values associated with input keys type: list - elements: strings + elements: string ''' import json diff --git a/plugins/lookup/etcd3.py b/plugins/lookup/etcd3.py index a358238925..55bbed2d89 100644 --- a/plugins/lookup/etcd3.py +++ b/plugins/lookup/etcd3.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: - - Eric Belhomme + - Eric Belhomme (@eric-belhomme) version_added: '0.2.0' lookup: etcd3 short_description: Get key values from etcd3 server diff --git a/plugins/lookup/flattened.py b/plugins/lookup/flattened.py index 744b0feb29..d56166709b 100644 --- a/plugins/lookup/flattened.py +++ b/plugins/lookup/flattened.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' lookup: flattened - author: Serge van Ginderachter + author: Serge van Ginderachter (!UNKNOWN) short_description: return single list completely flattened description: - given one or more lists, this lookup will flatten any list elements found recursively until only 1 list is left. diff --git a/plugins/lookup/gcp_storage_file.py b/plugins/lookup/gcp_storage_file.py index bf92e2c24f..09181ffc9d 100644 --- a/plugins/lookup/gcp_storage_file.py +++ b/plugins/lookup/gcp_storage_file.py @@ -9,7 +9,7 @@ lookup: gcp_storage_file description: - This lookup returns the contents from a file residing on Google Cloud Storage short_description: Return GC Storage content -author: Eric Anderson +author: Eric Anderson (!UNKNOWN) requirements: - python >= 2.6 - requests >= 2.18.4 diff --git a/plugins/lookup/hashi_vault.py b/plugins/lookup/hashi_vault.py index 4886dbfbcc..0c3d7a6808 100644 --- a/plugins/lookup/hashi_vault.py +++ b/plugins/lookup/hashi_vault.py @@ -9,7 +9,7 @@ __metaclass__ = type DOCUMENTATION = """ lookup: hashi_vault author: - - Jonathan Davila + - Jonathan Davila (!UNKNOWN) - Brian Scholer (@briantist) short_description: Retrieve secrets from HashiCorp's vault requirements: diff --git a/plugins/lookup/keyring.py b/plugins/lookup/keyring.py index ea627b9635..0472dfbb7f 100644 --- a/plugins/lookup/keyring.py +++ b/plugins/lookup/keyring.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = ''' lookup: keyring author: - - Samuel Boucher + - Samuel Boucher (!UNKNOWN) requirements: - keyring (python library) short_description: grab secrets from the OS keyring diff --git a/plugins/lookup/lastpass.py b/plugins/lookup/lastpass.py index 93abfb66ad..43e9998615 100644 --- a/plugins/lookup/lastpass.py +++ b/plugins/lookup/lastpass.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' lookup: lastpass author: - - Andrew Zenk + - Andrew Zenk (!UNKNOWN) requirements: - lpass (command line utility) - must have already logged into lastpass diff --git a/plugins/lookup/manifold.py b/plugins/lookup/manifold.py index f43678762f..f7f843a559 100644 --- a/plugins/lookup/manifold.py +++ b/plugins/lookup/manifold.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: - - Kyrylo Galanov (galanoff@gmail.com) + - Kyrylo Galanov (!UNKNOWN) lookup: manifold short_description: get credentials from Manifold.co description: diff --git a/plugins/lookup/nios.py b/plugins/lookup/nios.py index 0875705424..c9a3c34b39 100644 --- a/plugins/lookup/nios.py +++ b/plugins/lookup/nios.py @@ -22,6 +22,7 @@ __metaclass__ = type DOCUMENTATION = ''' --- +author: Unknown (!UNKNOWN) lookup: nios short_description: Query Infoblox NIOS objects description: @@ -83,7 +84,7 @@ RETURN = """ obj_type: description: - The object type specified in the terms argument - type: complex + type: dictionary contains: obj_field: description: diff --git a/plugins/lookup/nios_next_ip.py b/plugins/lookup/nios_next_ip.py index 72660748ac..20d2852319 100644 --- a/plugins/lookup/nios_next_ip.py +++ b/plugins/lookup/nios_next_ip.py @@ -22,6 +22,7 @@ __metaclass__ = type DOCUMENTATION = ''' --- +author: Unknown (!UNKNOWN) lookup: nios_next_ip short_description: Return the next available IP address for a network description: diff --git a/plugins/lookup/nios_next_network.py b/plugins/lookup/nios_next_network.py index f93913cff9..e76ff24be6 100644 --- a/plugins/lookup/nios_next_network.py +++ b/plugins/lookup/nios_next_network.py @@ -22,6 +22,7 @@ __metaclass__ = type DOCUMENTATION = ''' --- +author: Unknown (!UNKNOWN) lookup: nios_next_network short_description: Return the next available network range for a network-container description: diff --git a/plugins/lookup/passwordstore.py b/plugins/lookup/passwordstore.py index a0891d0fb5..4c9bbb8980 100644 --- a/plugins/lookup/passwordstore.py +++ b/plugins/lookup/passwordstore.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = ''' lookup: passwordstore author: - - Patrick Deelman + - Patrick Deelman (!UNKNOWN) short_description: manage passwords with passwordstore.org's pass utility description: - Enables Ansible to retrieve, create or update passwords from the passwordstore.org pass utility. diff --git a/plugins/lookup/redis.py b/plugins/lookup/redis.py index 955d93d8bf..67d35c22fa 100644 --- a/plugins/lookup/redis.py +++ b/plugins/lookup/redis.py @@ -8,7 +8,7 @@ DOCUMENTATION = ''' lookup: redis author: - Jan-Piet Mens (@jpmens) - - Ansible Core + - Ansible Core Team short_description: fetch data from Redis description: - This lookup returns a list of results from a Redis DB corresponding to a list of items given to it diff --git a/plugins/lookup/shelvefile.py b/plugins/lookup/shelvefile.py index aff52a5059..cfeb61f357 100644 --- a/plugins/lookup/shelvefile.py +++ b/plugins/lookup/shelvefile.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' lookup: shelvefile - author: Alejandro Guirao + author: Alejandro Guirao (!UNKNOWN) short_description: read keys from Python shelve file description: - Read keys from Python shelve file.