[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 cd77d67efb
)
Co-authored-by: Danila Kiver <forumdan@mail.ru>
pull/7877/head
parent
d22199f82e
commit
13c25154b5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue