From cd77d67efb7d2f1f79d48d5a03f427d4445cd59e Mon Sep 17 00:00:00 2001 From: Danila Kiver Date: Thu, 18 Jan 2024 09:33:06 +0300 Subject: [PATCH] Add missing `id` parameter into pacman_key documentation examples. (#7855) Key ID is a mandatory parameter, and the examples which miss it are incorrect. --- 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