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

Add apt_key examples for file and data

This commit is contained in:
Veeti Paananen 2013-06-17 18:23:40 +03:00
parent 1284bfd742
commit 77159d21da

View file

@ -58,6 +58,10 @@ examples:
description: Add an Apt signing key, uses whichever key is at the URL
- code: "apt_key: id=473041FA url=https://ftp-master.debian.org/keys/archive-key-6.0.asc state=present"
description: Add an Apt signing key, will not download if present
- code: "apt_key: file=/tmp/apt.gpg state=present"
description: Add an Apt signing key from the specified file
- code: "apt_key: data='{{ lookup('file', 'apt.gpg') }}' state=present"
description: Add an Apt signing key from a local file
- code: "apt_key: url=https://ftp-master.debian.org/keys/archive-key-6.0.asc state=absent"
description: Remove an Apt signing key, uses whichever key is at the URL
- code: "apt_key: id=473041FA state=absent"