Add information about lookup file constraint.
This commit is contained in:
parent
e341135431
commit
f5c61650a7
1 changed files with 2 additions and 2 deletions
|
@ -112,9 +112,9 @@ EXAMPLES = '''
|
||||||
id: 0x473041FA
|
id: 0x473041FA
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
# Add a key from a file on the Ansible server
|
# Add a key from a file on the Ansible server. Use armored file since utf-8 string is expected. Must be of "PGP PUBLIC KEY BLOCK" type.
|
||||||
- apt_key:
|
- apt_key:
|
||||||
data: "{{ lookup('file', 'apt.gpg') }}"
|
data: "{{ lookup('file', 'apt.asc') }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
# Add an Apt signing key to a specific keyring file
|
# Add an Apt signing key to a specific keyring file
|
||||||
|
|
Loading…
Reference in a new issue