From 99cfb993d554b5f558795f6918397de18c63513f Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 12 Jan 2021 07:12:03 +0100 Subject: [PATCH] : -> name: (#1541) --- plugins/become/doas.py | 2 +- plugins/become/dzdo.py | 2 +- plugins/become/ksu.py | 2 +- plugins/become/machinectl.py | 2 +- plugins/become/pbrun.py | 2 +- plugins/become/pfexec.py | 2 +- plugins/become/pmrun.py | 2 +- plugins/become/sesu.py | 2 +- plugins/cache/memcached.py | 2 +- plugins/cache/pickle.py | 2 +- plugins/cache/redis.py | 2 +- plugins/cache/yaml.py | 2 +- plugins/callback/cgroup_memory_recap.py | 2 +- plugins/callback/context_demo.py | 2 +- plugins/callback/counter_enabled.py | 2 +- plugins/callback/dense.py | 2 +- plugins/callback/diy.py | 2 +- plugins/callback/hipchat.py | 2 +- plugins/callback/jabber.py | 2 +- plugins/callback/log_plays.py | 2 +- plugins/callback/logdna.py | 2 +- plugins/callback/logentries.py | 2 +- plugins/callback/logstash.py | 2 +- plugins/callback/mail.py | 2 +- plugins/callback/nrdp.py | 2 +- plugins/callback/null.py | 2 +- plugins/callback/say.py | 2 +- plugins/callback/selective.py | 2 +- plugins/callback/slack.py | 2 +- plugins/callback/splunk.py | 2 +- plugins/callback/sumologic.py | 2 +- plugins/callback/syslog_json.py | 2 +- plugins/callback/unixy.py | 2 +- plugins/callback/yaml.py | 2 +- plugins/connection/chroot.py | 2 +- plugins/connection/funcd.py | 2 +- plugins/connection/iocage.py | 2 +- plugins/connection/jail.py | 2 +- plugins/connection/lxc.py | 2 +- plugins/connection/lxd.py | 2 +- plugins/connection/qubes.py | 2 +- plugins/connection/saltstack.py | 2 +- plugins/connection/zone.py | 2 +- plugins/inventory/cobbler.py | 1 - plugins/inventory/gitlab_runners.py | 1 - plugins/inventory/linode.py | 1 - plugins/inventory/nmap.py | 1 - plugins/inventory/online.py | 1 - plugins/inventory/proxmox.py | 1 - plugins/inventory/scaleway.py | 1 - plugins/inventory/stackpath_compute.py | 1 - plugins/inventory/virtualbox.py | 1 - plugins/lookup/cartesian.py | 2 +- plugins/lookup/chef_databag.py | 2 +- plugins/lookup/consul_kv.py | 2 +- plugins/lookup/credstash.py | 2 +- plugins/lookup/cyberarkpassword.py | 2 +- plugins/lookup/dig.py | 2 +- plugins/lookup/dnstxt.py | 2 +- plugins/lookup/dsv.py | 2 +- plugins/lookup/etcd.py | 2 +- plugins/lookup/etcd3.py | 2 +- plugins/lookup/filetree.py | 2 +- plugins/lookup/flattened.py | 2 +- plugins/lookup/hiera.py | 2 +- plugins/lookup/keyring.py | 2 +- plugins/lookup/lastpass.py | 2 +- plugins/lookup/lmdb_kv.py | 2 +- plugins/lookup/manifold.py | 2 +- plugins/lookup/nios.py | 2 +- plugins/lookup/nios_next_ip.py | 2 +- plugins/lookup/nios_next_network.py | 2 +- plugins/lookup/onepassword.py | 2 +- plugins/lookup/onepassword_raw.py | 2 +- plugins/lookup/passwordstore.py | 2 +- plugins/lookup/redis.py | 2 +- plugins/lookup/shelvefile.py | 2 +- plugins/lookup/tss.py | 2 +- 78 files changed, 69 insertions(+), 78 deletions(-) diff --git a/plugins/become/doas.py b/plugins/become/doas.py index d7f4ad81c8..ec660bb763 100644 --- a/plugins/become/doas.py +++ b/plugins/become/doas.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: doas + name: doas short_description: Do As user description: - This become plugins allows your remote/login user to execute commands as another user via the doas utility. diff --git a/plugins/become/dzdo.py b/plugins/become/dzdo.py index a0ff4c0538..05fcb6192d 100644 --- a/plugins/become/dzdo.py +++ b/plugins/become/dzdo.py @@ -4,7 +4,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: dzdo + name: dzdo short_description: Centrify's Direct Authorize description: - This become plugins allows your remote/login user to execute commands as another user via the dzdo utility. diff --git a/plugins/become/ksu.py b/plugins/become/ksu.py index d81b7a119d..dad2663639 100644 --- a/plugins/become/ksu.py +++ b/plugins/become/ksu.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: ksu + name: ksu short_description: Kerberos substitute user description: - This become plugins allows your remote/login user to execute commands as another user via the ksu utility. diff --git a/plugins/become/machinectl.py b/plugins/become/machinectl.py index 6751f9b46b..f9a2873f63 100644 --- a/plugins/become/machinectl.py +++ b/plugins/become/machinectl.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: machinectl + name: machinectl short_description: Systemd's machinectl privilege escalation description: - This become plugins allows your remote/login user to execute commands as another user via the machinectl utility. diff --git a/plugins/become/pbrun.py b/plugins/become/pbrun.py index 9d64ff6a2d..a464309c0d 100644 --- a/plugins/become/pbrun.py +++ b/plugins/become/pbrun.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: pbrun + name: pbrun short_description: PowerBroker run description: - This become plugins allows your remote/login user to execute commands as another user via the pbrun utility. diff --git a/plugins/become/pfexec.py b/plugins/become/pfexec.py index d86af6e3ed..256275dca2 100644 --- a/plugins/become/pfexec.py +++ b/plugins/become/pfexec.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: pfexec + name: pfexec short_description: profile based execution description: - This become plugins allows your remote/login user to execute commands as another user via the pfexec utility. diff --git a/plugins/become/pmrun.py b/plugins/become/pmrun.py index 52fc336029..597ea69d2f 100644 --- a/plugins/become/pmrun.py +++ b/plugins/become/pmrun.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: pmrun + name: pmrun short_description: Privilege Manager run description: - This become plugins allows your remote/login user to execute commands as another user via the pmrun utility. diff --git a/plugins/become/sesu.py b/plugins/become/sesu.py index b56e6ee214..7113b19442 100644 --- a/plugins/become/sesu.py +++ b/plugins/become/sesu.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - become: sesu + name: sesu short_description: CA Privileged Access Manager description: - This become plugins allows your remote/login user to execute commands as another user via the sesu utility. diff --git a/plugins/cache/memcached.py b/plugins/cache/memcached.py index f4c65892bb..e483238952 100644 --- a/plugins/cache/memcached.py +++ b/plugins/cache/memcached.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - cache: memcached + name: memcached short_description: Use memcached DB for cache description: - This cache uses JSON formatted, per host records saved in memcached. diff --git a/plugins/cache/pickle.py b/plugins/cache/pickle.py index 80b00b4c7b..38a93e2e28 100644 --- a/plugins/cache/pickle.py +++ b/plugins/cache/pickle.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - cache: pickle + name: pickle short_description: Pickle formatted files. description: - This cache uses Python's pickle serialization format, in per host files, saved to the filesystem. diff --git a/plugins/cache/redis.py b/plugins/cache/redis.py index 371eacfe78..c9a3c0fd7a 100644 --- a/plugins/cache/redis.py +++ b/plugins/cache/redis.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - cache: redis + name: redis short_description: Use Redis DB for cache description: - This cache uses JSON formatted, per host records saved in Redis. diff --git a/plugins/cache/yaml.py b/plugins/cache/yaml.py index e4c495be70..b47d74038c 100644 --- a/plugins/cache/yaml.py +++ b/plugins/cache/yaml.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - cache: yaml + name: yaml short_description: YAML formatted files. description: - This cache uses YAML formatted, per host, files saved to the filesystem. diff --git a/plugins/callback/cgroup_memory_recap.py b/plugins/callback/cgroup_memory_recap.py index a6dace8d7c..0334bee664 100644 --- a/plugins/callback/cgroup_memory_recap.py +++ b/plugins/callback/cgroup_memory_recap.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: cgroup_memory_recap + name: cgroup_memory_recap type: aggregate requirements: - whitelist in configuration diff --git a/plugins/callback/context_demo.py b/plugins/callback/context_demo.py index d134f616d9..2441f4063f 100644 --- a/plugins/callback/context_demo.py +++ b/plugins/callback/context_demo.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: context_demo + name: context_demo type: aggregate short_description: demo callback that adds play/task context description: diff --git a/plugins/callback/counter_enabled.py b/plugins/callback/counter_enabled.py index 89c8b0f22f..2b8c270024 100644 --- a/plugins/callback/counter_enabled.py +++ b/plugins/callback/counter_enabled.py @@ -9,7 +9,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: counter_enabled + name: counter_enabled type: stdout short_description: adds counters to the output items (tasks and hosts/task) description: diff --git a/plugins/callback/dense.py b/plugins/callback/dense.py index bec6227911..abbf05ef48 100644 --- a/plugins/callback/dense.py +++ b/plugins/callback/dense.py @@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' -callback: dense +name: dense type: stdout short_description: minimal stdout output extends_documentation_fragment: diff --git a/plugins/callback/diy.py b/plugins/callback/diy.py index d24c91453f..918262805c 100644 --- a/plugins/callback/diy.py +++ b/plugins/callback/diy.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = r''' - callback: diy + name: diy type: stdout short_description: Customize the output version_added: 0.2.0 diff --git a/plugins/callback/hipchat.py b/plugins/callback/hipchat.py index efe4e94e88..3046a9c1ca 100644 --- a/plugins/callback/hipchat.py +++ b/plugins/callback/hipchat.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: hipchat + name: hipchat type: notification requirements: - whitelist in configuration. diff --git a/plugins/callback/jabber.py b/plugins/callback/jabber.py index 01abde1752..83476a85c5 100644 --- a/plugins/callback/jabber.py +++ b/plugins/callback/jabber.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: jabber + name: jabber type: notification short_description: post task events to a jabber server description: diff --git a/plugins/callback/log_plays.py b/plugins/callback/log_plays.py index d184b9a86d..7383313482 100644 --- a/plugins/callback/log_plays.py +++ b/plugins/callback/log_plays.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: log_plays + name: log_plays type: notification short_description: write playbook output to log file description: diff --git a/plugins/callback/logdna.py b/plugins/callback/logdna.py index 53bc711432..165005d0bd 100644 --- a/plugins/callback/logdna.py +++ b/plugins/callback/logdna.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: logdna + name: logdna type: aggregate short_description: Sends playbook logs to LogDNA description: diff --git a/plugins/callback/logentries.py b/plugins/callback/logentries.py index c6bc9935c6..e4a8b51e79 100644 --- a/plugins/callback/logentries.py +++ b/plugins/callback/logentries.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: logentries + name: logentries type: notification short_description: Sends events to Logentries description: diff --git a/plugins/callback/logstash.py b/plugins/callback/logstash.py index ad1b2b0fc5..6b19e051f9 100644 --- a/plugins/callback/logstash.py +++ b/plugins/callback/logstash.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: logstash + name: logstash type: notification short_description: Sends events to Logstash description: diff --git a/plugins/callback/mail.py b/plugins/callback/mail.py index 2172f45c19..6964528da6 100644 --- a/plugins/callback/mail.py +++ b/plugins/callback/mail.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' -callback: mail +name: mail type: notification short_description: Sends failure events via email description: diff --git a/plugins/callback/nrdp.py b/plugins/callback/nrdp.py index a814a41cf3..f17785a92f 100644 --- a/plugins/callback/nrdp.py +++ b/plugins/callback/nrdp.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - callback: nrdp + name: nrdp type: notification author: "Remi VERCHERE (@rverchere)" short_description: post task result to a nagios server through nrdp diff --git a/plugins/callback/null.py b/plugins/callback/null.py index e4ef684bed..cda8603167 100644 --- a/plugins/callback/null.py +++ b/plugins/callback/null.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: 'null' + name: 'null' type: stdout requirements: - set as main display callback diff --git a/plugins/callback/say.py b/plugins/callback/say.py index fe1a917e37..e3efd3e63b 100644 --- a/plugins/callback/say.py +++ b/plugins/callback/say.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: say + name: say type: notification requirements: - whitelisting in configuration diff --git a/plugins/callback/selective.py b/plugins/callback/selective.py index 9521081e5a..e46391d099 100644 --- a/plugins/callback/selective.py +++ b/plugins/callback/selective.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: selective + name: selective type: stdout requirements: - set as main display callback diff --git a/plugins/callback/slack.py b/plugins/callback/slack.py index 33cee0ac31..5974c41a71 100644 --- a/plugins/callback/slack.py +++ b/plugins/callback/slack.py @@ -8,7 +8,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: slack + name: slack type: notification requirements: - whitelist in configuration diff --git a/plugins/callback/splunk.py b/plugins/callback/splunk.py index 7e224f32cb..f782161765 100644 --- a/plugins/callback/splunk.py +++ b/plugins/callback/splunk.py @@ -18,7 +18,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - callback: splunk + name: splunk type: aggregate short_description: Sends task result events to Splunk HTTP Event Collector author: "Stuart Hirst (!UNKNOWN) " diff --git a/plugins/callback/sumologic.py b/plugins/callback/sumologic.py index bfb8d58659..b1ce85af77 100644 --- a/plugins/callback/sumologic.py +++ b/plugins/callback/sumologic.py @@ -18,7 +18,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' -callback: sumologic +name: sumologic type: aggregate short_description: Sends task result events to Sumologic author: "Ryan Currah (@ryancurrah)" diff --git a/plugins/callback/syslog_json.py b/plugins/callback/syslog_json.py index dad34c6d05..a9547526ee 100644 --- a/plugins/callback/syslog_json.py +++ b/plugins/callback/syslog_json.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: syslog_json + name: syslog_json type: notification requirements: - whitelist in configuration diff --git a/plugins/callback/unixy.py b/plugins/callback/unixy.py index fa3e6d254f..783729916f 100644 --- a/plugins/callback/unixy.py +++ b/plugins/callback/unixy.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - callback: unixy + name: unixy type: stdout author: Allyson Bowles (@akatch) short_description: condensed Ansible output diff --git a/plugins/callback/yaml.py b/plugins/callback/yaml.py index 2fbb2f4808..9aa8488807 100644 --- a/plugins/callback/yaml.py +++ b/plugins/callback/yaml.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - callback: yaml + name: yaml type: stdout short_description: yaml-ized Ansible screen output description: diff --git a/plugins/connection/chroot.py b/plugins/connection/chroot.py index 7c9aed106f..ffaea2b198 100644 --- a/plugins/connection/chroot.py +++ b/plugins/connection/chroot.py @@ -10,7 +10,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Maykel Moya (!UNKNOWN) - connection: chroot + name: chroot short_description: Interact with local chroot description: - Run commands or put/fetch files to an existing chroot on the Ansible controller. diff --git a/plugins/connection/funcd.py b/plugins/connection/funcd.py index 83f4a9e05e..193e298fe2 100644 --- a/plugins/connection/funcd.py +++ b/plugins/connection/funcd.py @@ -9,7 +9,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Michael Scherer (@msherer) - connection: funcd + name: funcd short_description: Use funcd to connect to target description: - This transport permits you to use Ansible over Func. diff --git a/plugins/connection/iocage.py b/plugins/connection/iocage.py index aafd3a1dc4..435c789fd2 100644 --- a/plugins/connection/iocage.py +++ b/plugins/connection/iocage.py @@ -10,7 +10,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Stephan Lohse (!UNKNOWN) - connection: iocage + name: iocage short_description: Run tasks in iocage jails description: - Run commands or put/fetch files to an existing iocage jail diff --git a/plugins/connection/jail.py b/plugins/connection/jail.py index 7b44b9cd5f..5252e3c4eb 100644 --- a/plugins/connection/jail.py +++ b/plugins/connection/jail.py @@ -10,7 +10,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Ansible Core Team - connection: jail + name: jail short_description: Run tasks in jails description: - Run commands or put/fetch files to an existing jail diff --git a/plugins/connection/lxc.py b/plugins/connection/lxc.py index b3b68a5164..4b893c020b 100644 --- a/plugins/connection/lxc.py +++ b/plugins/connection/lxc.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Joerg Thalheim (!UNKNOWN) - connection: lxc + name: lxc short_description: Run tasks in lxc containers via lxc python library description: - Run commands or put/fetch files to an existing lxc container using lxc python library diff --git a/plugins/connection/lxd.py b/plugins/connection/lxd.py index ab317b0f7a..58bb09906e 100644 --- a/plugins/connection/lxd.py +++ b/plugins/connection/lxd.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Matt Clay (@mattclay) - connection: lxd + name: lxd short_description: Run tasks in lxc containers via lxc CLI description: - Run commands or put/fetch files to an existing lxc container using lxc CLI diff --git a/plugins/connection/qubes.py b/plugins/connection/qubes.py index ed03b3d02d..aa0075b674 100644 --- a/plugins/connection/qubes.py +++ b/plugins/connection/qubes.py @@ -11,7 +11,7 @@ __metaclass__ = type DOCUMENTATION = ''' - connection: qubes + name: qubes short_description: Interact with an existing QubesOS AppVM description: diff --git a/plugins/connection/saltstack.py b/plugins/connection/saltstack.py index ac521e1143..6be7a79949 100644 --- a/plugins/connection/saltstack.py +++ b/plugins/connection/saltstack.py @@ -10,7 +10,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Michael Scherer (@mscherer) - connection: saltstack + name: saltstack short_description: Allow ansible to piggyback on salt minions description: - This allows you to use existing Saltstack infrastructure to connect to targets. diff --git a/plugins/connection/zone.py b/plugins/connection/zone.py index 755081a8c1..7a7a36331d 100644 --- a/plugins/connection/zone.py +++ b/plugins/connection/zone.py @@ -11,7 +11,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Ansible Core Team - connection: zone + name: zone short_description: Run tasks in a zone instance description: - Run commands or put/fetch files to an existing zone diff --git a/plugins/inventory/cobbler.py b/plugins/inventory/cobbler.py index 0178c2ee3e..1550c41a4f 100644 --- a/plugins/inventory/cobbler.py +++ b/plugins/inventory/cobbler.py @@ -8,7 +8,6 @@ __metaclass__ = type DOCUMENTATION = ''' author: Orion Poplawski (@opoplawski) name: cobbler - plugin_type: inventory short_description: Cobbler inventory source version_added: 1.0.0 description: diff --git a/plugins/inventory/gitlab_runners.py b/plugins/inventory/gitlab_runners.py index ce487f2f5c..daa3755875 100644 --- a/plugins/inventory/gitlab_runners.py +++ b/plugins/inventory/gitlab_runners.py @@ -9,7 +9,6 @@ __metaclass__ = type DOCUMENTATION = ''' name: gitlab_runners - plugin_type: inventory author: - Stefan Heitmüller (@morph027) short_description: Ansible dynamic inventory plugin for GitLab runners. diff --git a/plugins/inventory/linode.py b/plugins/inventory/linode.py index ecaf86b4bc..617f767e1f 100644 --- a/plugins/inventory/linode.py +++ b/plugins/inventory/linode.py @@ -6,7 +6,6 @@ __metaclass__ = type DOCUMENTATION = r''' name: linode - plugin_type: inventory author: - Luke Murphy (@decentral1se) short_description: Ansible dynamic inventory plugin for Linode. diff --git a/plugins/inventory/nmap.py b/plugins/inventory/nmap.py index 6e2efae3b4..ea6175e86d 100644 --- a/plugins/inventory/nmap.py +++ b/plugins/inventory/nmap.py @@ -7,7 +7,6 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) name: nmap - plugin_type: inventory short_description: Uses nmap to find hosts to target description: - Uses a YAML configuration file with a valid YAML extension. diff --git a/plugins/inventory/online.py b/plugins/inventory/online.py index d976633aa7..f5a939b69d 100644 --- a/plugins/inventory/online.py +++ b/plugins/inventory/online.py @@ -6,7 +6,6 @@ __metaclass__ = type DOCUMENTATION = r''' name: online - plugin_type: inventory author: - Remy Leone (@sieben) short_description: Scaleway (previously Online SAS or Online.net) inventory source diff --git a/plugins/inventory/proxmox.py b/plugins/inventory/proxmox.py index aa9a757a05..8d6670046d 100644 --- a/plugins/inventory/proxmox.py +++ b/plugins/inventory/proxmox.py @@ -7,7 +7,6 @@ __metaclass__ = type DOCUMENTATION = ''' name: proxmox - plugin_type: inventory short_description: Proxmox inventory source version_added: "1.2.0" author: diff --git a/plugins/inventory/scaleway.py b/plugins/inventory/scaleway.py index d7d55ef9e3..3e8e401f61 100644 --- a/plugins/inventory/scaleway.py +++ b/plugins/inventory/scaleway.py @@ -7,7 +7,6 @@ __metaclass__ = type DOCUMENTATION = ''' name: scaleway - plugin_type: inventory author: - Remy Leone (@sieben) short_description: Scaleway inventory source diff --git a/plugins/inventory/stackpath_compute.py b/plugins/inventory/stackpath_compute.py index 21e1b0850b..393edac384 100644 --- a/plugins/inventory/stackpath_compute.py +++ b/plugins/inventory/stackpath_compute.py @@ -8,7 +8,6 @@ __metaclass__ = type DOCUMENTATION = ''' name: stackpath_compute - plugin_type: inventory short_description: StackPath Edge Computing inventory source version_added: 1.2.0 extends_documentation_fragment: diff --git a/plugins/inventory/virtualbox.py b/plugins/inventory/virtualbox.py index 391a83c925..683e4ddd69 100644 --- a/plugins/inventory/virtualbox.py +++ b/plugins/inventory/virtualbox.py @@ -7,7 +7,6 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) name: virtualbox - plugin_type: inventory short_description: virtualbox inventory source description: - Get inventory hosts from the local virtualbox installation. diff --git a/plugins/lookup/cartesian.py b/plugins/lookup/cartesian.py index 46f192b973..45eb16d8b0 100644 --- a/plugins/lookup/cartesian.py +++ b/plugins/lookup/cartesian.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - lookup: cartesian + name: cartesian short_description: returns the cartesian product of lists description: - Takes the input lists and returns a list that represents the product of the input lists. diff --git a/plugins/lookup/chef_databag.py b/plugins/lookup/chef_databag.py index c3263e8811..d9f0fe02bd 100644 --- a/plugins/lookup/chef_databag.py +++ b/plugins/lookup/chef_databag.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - lookup: chef_databag + name: chef_databag short_description: fetches data from a Chef Databag description: - "This is a lookup plugin to provide access to chef data bags using the pychef package. diff --git a/plugins/lookup/consul_kv.py b/plugins/lookup/consul_kv.py index 91c505956a..7ba7e5ac90 100644 --- a/plugins/lookup/consul_kv.py +++ b/plugins/lookup/consul_kv.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - lookup: consul_kv + name: consul_kv short_description: Fetch metadata from a Consul key value store. description: - Lookup metadata for a playbook from the key value store in a Consul cluster. diff --git a/plugins/lookup/credstash.py b/plugins/lookup/credstash.py index 6ab4d3bc8d..04935ee635 100644 --- a/plugins/lookup/credstash.py +++ b/plugins/lookup/credstash.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - lookup: credstash + name: credstash short_description: retrieve secrets from Credstash on AWS requirements: - credstash (python library) diff --git a/plugins/lookup/cyberarkpassword.py b/plugins/lookup/cyberarkpassword.py index 449cb91633..f2a720a042 100644 --- a/plugins/lookup/cyberarkpassword.py +++ b/plugins/lookup/cyberarkpassword.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: Unknown (!UNKNOWN) - lookup: cyberarkpassword + name: cyberarkpassword short_description: get secrets from CyberArk AIM requirements: - CyberArk AIM tool installed diff --git a/plugins/lookup/dig.py b/plugins/lookup/dig.py index 6dc8fc6e7a..16e6bf4f69 100644 --- a/plugins/lookup/dig.py +++ b/plugins/lookup/dig.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: dig + name: dig author: Jan-Piet Mens (@jpmens) short_description: query DNS using the dnspython library requirements: diff --git a/plugins/lookup/dnstxt.py b/plugins/lookup/dnstxt.py index 19e28e1d0a..5252991c72 100644 --- a/plugins/lookup/dnstxt.py +++ b/plugins/lookup/dnstxt.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: dnstxt + name: dnstxt author: Jan-Piet Mens (@jpmens) short_description: query a domain(s)'s DNS txt fields requirements: diff --git a/plugins/lookup/dsv.py b/plugins/lookup/dsv.py index 18165f9f8a..d7826bcd4d 100644 --- a/plugins/lookup/dsv.py +++ b/plugins/lookup/dsv.py @@ -6,7 +6,7 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = r""" -lookup: dsv +name: dsv author: Adam Migus (@amigus) short_description: Get secrets from Thycotic DevOps Secrets Vault version_added: 1.0.0 diff --git a/plugins/lookup/etcd.py b/plugins/lookup/etcd.py index 91724df7d5..a3a7c42a3d 100644 --- a/plugins/lookup/etcd.py +++ b/plugins/lookup/etcd.py @@ -22,7 +22,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: - Jan-Piet Mens (@jpmens) - lookup: etcd + name: etcd short_description: get info from an etcd server description: - Retrieves data from an etcd server diff --git a/plugins/lookup/etcd3.py b/plugins/lookup/etcd3.py index 55bbed2d89..333b8889d8 100644 --- a/plugins/lookup/etcd3.py +++ b/plugins/lookup/etcd3.py @@ -10,7 +10,7 @@ DOCUMENTATION = ''' author: - Eric Belhomme (@eric-belhomme) version_added: '0.2.0' - lookup: etcd3 + name: etcd3 short_description: Get key values from etcd3 server description: - Retrieves key values and/or key prefixes from etcd3 server using its native gRPC API. diff --git a/plugins/lookup/filetree.py b/plugins/lookup/filetree.py index 4b05096870..fe93cd240d 100644 --- a/plugins/lookup/filetree.py +++ b/plugins/lookup/filetree.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = r''' -lookup: filetree +name: filetree author: Dag Wieers (@dagwieers) short_description: recursively match all files in a directory tree description: diff --git a/plugins/lookup/flattened.py b/plugins/lookup/flattened.py index d56166709b..515817ed09 100644 --- a/plugins/lookup/flattened.py +++ b/plugins/lookup/flattened.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: flattened + name: flattened author: Serge van Ginderachter (!UNKNOWN) short_description: return single list completely flattened description: diff --git a/plugins/lookup/hiera.py b/plugins/lookup/hiera.py index 09b7c0a1c9..e757f41215 100644 --- a/plugins/lookup/hiera.py +++ b/plugins/lookup/hiera.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: - Juan Manuel Parrilla (@jparrill) - lookup: hiera + name: hiera short_description: get info from hiera data requirements: - hiera (command line utility) diff --git a/plugins/lookup/keyring.py b/plugins/lookup/keyring.py index 0472dfbb7f..d5b7d1a154 100644 --- a/plugins/lookup/keyring.py +++ b/plugins/lookup/keyring.py @@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: keyring + name: keyring author: - Samuel Boucher (!UNKNOWN) requirements: diff --git a/plugins/lookup/lastpass.py b/plugins/lookup/lastpass.py index 43e9998615..e6137f4080 100644 --- a/plugins/lookup/lastpass.py +++ b/plugins/lookup/lastpass.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: lastpass + name: lastpass author: - Andrew Zenk (!UNKNOWN) requirements: diff --git a/plugins/lookup/lmdb_kv.py b/plugins/lookup/lmdb_kv.py index 3764a43ca0..18a6a2ceac 100644 --- a/plugins/lookup/lmdb_kv.py +++ b/plugins/lookup/lmdb_kv.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: lmdb_kv + name: lmdb_kv author: - Jan-Piet Mens (@jpmens) version_added: '0.2.0' diff --git a/plugins/lookup/manifold.py b/plugins/lookup/manifold.py index f7f843a559..8b270ba0a2 100644 --- a/plugins/lookup/manifold.py +++ b/plugins/lookup/manifold.py @@ -7,7 +7,7 @@ __metaclass__ = type DOCUMENTATION = ''' author: - Kyrylo Galanov (!UNKNOWN) - lookup: manifold + name: manifold short_description: get credentials from Manifold.co description: - Retrieves resources' credentials from Manifold.co diff --git a/plugins/lookup/nios.py b/plugins/lookup/nios.py index c9a3c34b39..4b606e78ba 100644 --- a/plugins/lookup/nios.py +++ b/plugins/lookup/nios.py @@ -23,7 +23,7 @@ __metaclass__ = type DOCUMENTATION = ''' --- author: Unknown (!UNKNOWN) -lookup: nios +name: nios short_description: Query Infoblox NIOS objects description: - Uses the Infoblox WAPI API to fetch NIOS specified objects. This lookup diff --git a/plugins/lookup/nios_next_ip.py b/plugins/lookup/nios_next_ip.py index 20d2852319..5b979b8d07 100644 --- a/plugins/lookup/nios_next_ip.py +++ b/plugins/lookup/nios_next_ip.py @@ -23,7 +23,7 @@ __metaclass__ = type DOCUMENTATION = ''' --- author: Unknown (!UNKNOWN) -lookup: nios_next_ip +name: nios_next_ip short_description: Return the next available IP address for a network description: - Uses the Infoblox WAPI API to return the next available IP addresses diff --git a/plugins/lookup/nios_next_network.py b/plugins/lookup/nios_next_network.py index e76ff24be6..84b230d1fe 100644 --- a/plugins/lookup/nios_next_network.py +++ b/plugins/lookup/nios_next_network.py @@ -23,7 +23,7 @@ __metaclass__ = type DOCUMENTATION = ''' --- author: Unknown (!UNKNOWN) -lookup: nios_next_network +name: nios_next_network short_description: Return the next available network range for a network-container description: - Uses the Infoblox WAPI API to return the next available network addresses for diff --git a/plugins/lookup/onepassword.py b/plugins/lookup/onepassword.py index 4fe1b36c4a..d6e898a176 100644 --- a/plugins/lookup/onepassword.py +++ b/plugins/lookup/onepassword.py @@ -8,7 +8,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: onepassword + name: onepassword author: - Scott Buchanan (@scottsb) - Andrew Zenk (@azenk) diff --git a/plugins/lookup/onepassword_raw.py b/plugins/lookup/onepassword_raw.py index 76423a230c..d1958f78cd 100644 --- a/plugins/lookup/onepassword_raw.py +++ b/plugins/lookup/onepassword_raw.py @@ -8,7 +8,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: onepassword_raw + name: onepassword_raw author: - Scott Buchanan (@scottsb) - Andrew Zenk (@azenk) diff --git a/plugins/lookup/passwordstore.py b/plugins/lookup/passwordstore.py index e3d486886c..ba076ea195 100644 --- a/plugins/lookup/passwordstore.py +++ b/plugins/lookup/passwordstore.py @@ -6,7 +6,7 @@ __metaclass__ = type DOCUMENTATION = ''' - lookup: passwordstore + name: passwordstore author: - Patrick Deelman (!UNKNOWN) short_description: manage passwords with passwordstore.org's pass utility diff --git a/plugins/lookup/redis.py b/plugins/lookup/redis.py index 67d35c22fa..074b9490bf 100644 --- a/plugins/lookup/redis.py +++ b/plugins/lookup/redis.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: redis + name: redis author: - Jan-Piet Mens (@jpmens) - Ansible Core Team diff --git a/plugins/lookup/shelvefile.py b/plugins/lookup/shelvefile.py index cfeb61f357..808bb942b0 100644 --- a/plugins/lookup/shelvefile.py +++ b/plugins/lookup/shelvefile.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - lookup: shelvefile + name: shelvefile author: Alejandro Guirao (!UNKNOWN) short_description: read keys from Python shelve file description: diff --git a/plugins/lookup/tss.py b/plugins/lookup/tss.py index c4a5e0c454..31818a411c 100644 --- a/plugins/lookup/tss.py +++ b/plugins/lookup/tss.py @@ -6,7 +6,7 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = r""" -lookup: tss +name: tss author: Adam Migus (@amigus) short_description: Get secrets from Thycotic Secret Server version_added: 1.0.0