summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Doran <sdoran@ansible.com>2016-10-12 18:04:15 -0400
committerSam Doran <sdoran@ansible.com>2016-11-15 14:55:33 -0500
commitdb5076cd8a0013cf4ec7cda211e845213ea7475a (patch)
tree1c1c1506cc5510093f9791d7c4fbe53c6b785389
parent8533529c2bd79e8d30e5528c0bd5e7d8ab52d33b (diff)
downloadansible-modules-core-db5076cd8a0013cf4ec7cda211e845213ea7475a.tar.gz
Change example syntax on rhn_subscription module
-rw-r--r--packaging/os/rhn_channel.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/packaging/os/rhn_channel.py b/packaging/os/rhn_channel.py
index 00711831..9ec24483 100644
--- a/packaging/os/rhn_channel.py
+++ b/packaging/os/rhn_channel.py
@@ -26,7 +26,7 @@ description:
version_added: "1.1"
author: "Vincent Van der Kussen (@vincentvdk)"
notes:
- - this module fetches the system id from RHN.
+ - this module fetches the system id from RHN.
requirements:
- none
options:
@@ -46,7 +46,7 @@ options:
required: false
default: present
url:
- description:
+ description:
- The full url to the RHN/Satellite api
required: true
user:
@@ -60,7 +60,12 @@ options:
'''
EXAMPLES = '''
-- rhn_channel: name=rhel-x86_64-server-v2vwin-6 sysname=server01 url=https://rhn.redhat.com/rpc/api user=rhnuser password=guessme
+- rhn_channel:
+ name: rhel-x86_64-server-v2vwin-6
+ sysname: server01
+ url: 'https://rhn.redhat.com/rpc/api'
+ user: rhnuser
+ password: guessme
'''
import xmlrpclib