Skip to content

Commit

Permalink
[PR #7855/cd77d67e backport][stable-7] Add missing id parameter int…
Browse files Browse the repository at this point in the history
…o 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 cd77d67)

Co-authored-by: Danila Kiver <[email protected]>
  • Loading branch information
patchback[bot] and QazerLab authored Jan 18, 2024
1 parent 8bc51bb commit 1d87ace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/modules/pacman_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@
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
Expand Down

0 comments on commit 1d87ace

Please sign in to comment.