mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Change example syntax on rhn_subscription module
This commit is contained in:
parent
3208cf5abf
commit
25af0652b9
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue