Change example syntax on rhn_subscription module

This commit is contained in:
Sam Doran 2016-10-12 18:04:15 -04:00 committed by Matt Clay
commit 25af0652b9

View file

@ -26,7 +26,7 @@ description:
version_added: "1.1" version_added: "1.1"
author: "Vincent Van der Kussen (@vincentvdk)" author: "Vincent Van der Kussen (@vincentvdk)"
notes: notes:
- this module fetches the system id from RHN. - this module fetches the system id from RHN.
requirements: requirements:
- none - none
options: options:
@ -46,7 +46,7 @@ options:
required: false required: false
default: present default: present
url: url:
description: description:
- The full url to the RHN/Satellite api - The full url to the RHN/Satellite api
required: true required: true
user: user:
@ -60,7 +60,12 @@ options:
''' '''
EXAMPLES = ''' 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 import xmlrpclib