From a4753f4539b2ce2e91d1639abd29f9710629c36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Sun, 15 Mar 2026 16:56:58 +0100 Subject: [PATCH] Update plugins/modules/github_secrets_info.py Co-authored-by: Felix Fontein --- plugins/modules/github_secrets_info.py | 27 +++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/plugins/modules/github_secrets_info.py b/plugins/modules/github_secrets_info.py index 98402c8fcd..7aac0a1c75 100644 --- a/plugins/modules/github_secrets_info.py +++ b/plugins/modules/github_secrets_info.py @@ -55,19 +55,20 @@ EXAMPLES = r""" """ RETURN = r""" -result: - description: The result of the module. - type: dict - returned: always - sample: { - "secrets": [ - { - "created_at": "2026-01-11T23:19:00Z", - "name": "ANSIBLE", - "updated_at": "2026-02-15T22:18:16Z" - }, - ] - } +secrets: + description: The list of currently existing secrets. + type: list + elements: dict + returned: success + sample: [ + { + "created_at": "2026-01-11T23:19:00Z", + "name": "ANSIBLE", + "updated_at": "2026-02-15T22:18:16Z" + }, + ] + contains: + ... describe the fields inside the dictionaries here ... """ import json