mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #7855/cd77d67e backport][stable-7] Add missing id
parameter into 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 cd77d67efb
)
Co-authored-by: Danila Kiver <forumdan@mail.ru>
This commit is contained in:
parent
8bc51bb0ec
commit
1d87acef96
1 changed files with 2 additions and 0 deletions
|
@ -88,11 +88,13 @@ options:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: Import a key via local file
|
- name: Import a key via local file
|
||||||
community.general.pacman_key:
|
community.general.pacman_key:
|
||||||
|
id: 01234567890ABCDE01234567890ABCDE12345678
|
||||||
data: "{{ lookup('file', 'keyfile.asc') }}"
|
data: "{{ lookup('file', 'keyfile.asc') }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Import a key via remote file
|
- name: Import a key via remote file
|
||||||
community.general.pacman_key:
|
community.general.pacman_key:
|
||||||
|
id: 01234567890ABCDE01234567890ABCDE12345678
|
||||||
file: /tmp/keyfile.asc
|
file: /tmp/keyfile.asc
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue