From 13c25154b5deffc6f632f98e75de9b3bb0ae8458 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 08:12:58 +0100 Subject: [PATCH] [PR #7855/cd77d67e backport][stable-8] Add missing `id` parameter into pacman_key documentation examples. (#7868) 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