From 1d87acef962a38db14e932fcb54f898086285982 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 08:12:55 +0100 Subject: [PATCH] [PR #7855/cd77d67e backport][stable-7] Add missing `id` parameter into pacman_key documentation examples. (#7867) Add missing `id` parameter into pacman_key documentation examples. (#7855) Key ID is a mandatory parameter, and the examples which miss it are incorrect. (cherry picked from commit cd77d67efb7d2f1f79d48d5a03f427d4445cd59e) Co-authored-by: Danila Kiver --- plugins/modules/pacman_key.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/modules/pacman_key.py b/plugins/modules/pacman_key.py index e5dac55b5a..4b7b2639ec 100644 --- a/plugins/modules/pacman_key.py +++ b/plugins/modules/pacman_key.py @@ -88,11 +88,13 @@ options: EXAMPLES = ''' - name: Import a key via local file community.general.pacman_key: + id: 01234567890ABCDE01234567890ABCDE12345678 data: "{{ lookup('file', 'keyfile.asc') }}" state: present - name: Import a key via remote file community.general.pacman_key: + id: 01234567890ABCDE01234567890ABCDE12345678 file: /tmp/keyfile.asc state: present