From fabb63c43ffed752c1028ebc33e6b6bf0e810660 Mon Sep 17 00:00:00 2001 From: Chris Becker Date: Wed, 2 Nov 2016 15:30:52 -0400 Subject: [PATCH] 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' --- lib/ansible/modules/packaging/os/apt_key.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/os/apt_key.py b/lib/ansible/modules/packaging/os/apt_key.py index 7822578d040..516255e1a41 100644 --- a/lib/ansible/modules/packaging/os/apt_key.py +++ b/lib/ansible/modules/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 '''