diff options
author | Sam Doran <sdoran@ansible.com> | 2016-10-12 18:06:26 -0400 |
---|---|---|
committer | Sam Doran <sdoran@ansible.com> | 2016-11-15 14:55:33 -0500 |
commit | 68c78cf40dfe19bccf89fdc6c3896ef1d84edb93 (patch) | |
tree | d369c6c02586d53de970c6505dd171ebdd905b5b | |
parent | f6025edad254f768f69b52a16e1c764200a2e58b (diff) | |
download | ansible-modules-core-68c78cf40dfe19bccf89fdc6c3896ef1d84edb93.tar.gz |
Change example syntax on rpm_key module
-rw-r--r-- | packaging/os/rpm_key.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packaging/os/rpm_key.py b/packaging/os/rpm_key.py index 4899d5cd..19f36419 100644 --- a/packaging/os/rpm_key.py +++ b/packaging/os/rpm_key.py @@ -52,13 +52,19 @@ options: EXAMPLES = ''' # Example action to import a key from a url -- rpm_key: state=present key=http://apt.sw.be/RPM-GPG-KEY.dag.txt +- rpm_key: + state: present + key: 'http://apt.sw.be/RPM-GPG-KEY.dag.txt' # Example action to import a key from a file -- rpm_key: state=present key=/path/to/key.gpg +- rpm_key: + state: present + key: /path/to/key.gpg # Example action to ensure a key is not present in the db -- rpm_key: state=absent key=DEADB33F +- rpm_key: + state: absent + key: DEADB33F ''' import re import os.path |