From 020b47a1a9a4f0a1a8193dcbf453487d58311007 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 3 May 2021 13:51:10 +0200 Subject: [PATCH] Make plugins pass validation. (#2414) (#2431) (cherry picked from commit 6a72c3b3385a739d049d23a24d5a5f186962d606) Co-authored-by: Felix Fontein --- plugins/become/sudosu.py | 2 +- plugins/callback/loganalytics.py | 2 +- plugins/inventory/lxd.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/become/sudosu.py b/plugins/become/sudosu.py index e9668e6522..410b881b96 100644 --- a/plugins/become/sudosu.py +++ b/plugins/become/sudosu.py @@ -5,7 +5,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ - become: sudosu + name: sudosu short_description: Run tasks using sudo su - description: - This become plugins allows your remote/login user to execute commands as another user via the C(sudo) and C(su) utilities combined. diff --git a/plugins/callback/loganalytics.py b/plugins/callback/loganalytics.py index 507d6fccd9..ef1ea02f87 100644 --- a/plugins/callback/loganalytics.py +++ b/plugins/callback/loganalytics.py @@ -4,7 +4,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' - callback: loganalytics + name: loganalytics type: aggregate short_description: Posts task results to Azure Log Analytics author: "Cyrus Li (@zhcli) " diff --git a/plugins/inventory/lxd.py b/plugins/inventory/lxd.py index c48818d595..d1e47b0505 100644 --- a/plugins/inventory/lxd.py +++ b/plugins/inventory/lxd.py @@ -6,7 +6,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = r''' - name: community.general.lxd + name: lxd short_description: Returns Ansible inventory from lxd host description: - Get inventory from the lxd. @@ -68,7 +68,7 @@ DOCUMENTATION = r''' description: - Create groups by the following keywords C(location), C(pattern), C(network_range), C(os), C(release), C(profile), C(vlanid). - See example for syntax. - type: json + type: dict ''' EXAMPLES = '''