Skip to content

Commit

Permalink
Add missing id parameter into pacman_key documentation examples. (#…
Browse files Browse the repository at this point in the history
…7855)

Key ID is a mandatory parameter, and the examples which miss it are
incorrect.
  • Loading branch information
QazerLab authored Jan 18, 2024
1 parent 92f8bf7 commit cd77d67
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 cd77d67

Please sign in to comment.