1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add information about lookup file constraint.

This commit is contained in:
Gaëtan Duchaussois 2017-01-10 09:44:43 +01:00 committed by Brian Coca
parent e341135431
commit f5c61650a7

View file

@ -112,9 +112,9 @@ EXAMPLES = '''
id: 0x473041FA
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:
data: "{{ lookup('file', 'apt.gpg') }}"
data: "{{ lookup('file', 'apt.asc') }}"
state: present
# Add an Apt signing key to a specific keyring file