summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Becker <cbeck527@gmail.com>2016-11-02 15:30:52 -0400
committerChris Becker <cbeck527@gmail.com>2016-11-02 15:30:52 -0400
commit258dd810e93cc979c07fd130162ebd903e286a3c (patch)
tree80959adc0d74f472383a32ffa3ec986b1c32bf0d
parent76fd19c3cad3c1f5db66aa6668ffcfe01bb5ac2c (diff)
downloadansible-modules-core-258dd810e93cc979c07fd130162ebd903e286a3c.tar.gz
Add more specific language to module description and examples
* Add 'on the remote server' to `file` parameter description * Add example showing how to use the `file` parameter, with specific language about the file's location being on the 'remote server'
-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
'''