summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/os/apt_key.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/os/apt_key.py b/packaging/os/apt_key.py
index 7822578d..516255e1 100644
--- a/packaging/os/apt_key.py
+++ b/packaging/os/apt_key.py
@@ -47,7 +47,7 @@ options:
required: false
default: none
description:
- - path to a keyfile to add to the keyring
+ - path to a keyfile on the remote server to add to the keyring
keyring:
required: false
default: none
@@ -102,6 +102,9 @@ EXAMPLES = '''
# Add an Apt signing key to a specific keyring file
- apt_key: id=473041FA url=https://ftp-master.debian.org/keys/archive-key-6.0.asc keyring=/etc/apt/trusted.gpg.d/debian.gpg state=present
+
+# Add Apt signing key on remote server to keyring
+- apt_key: id=473041FA file=/tmp/apt.gpg state=present
'''