|
|
|
@ -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
|
|
|
|
|