From 25af0652b9caff0cf88a48f55b2047d362650188 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Wed, 12 Oct 2016 18:04:15 -0400 Subject: [PATCH] Change example syntax on rhn_subscription module --- lib/ansible/modules/packaging/os/rhn_channel.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/packaging/os/rhn_channel.py b/lib/ansible/modules/packaging/os/rhn_channel.py index 0071183158e..9ec24483ef7 100644 --- a/lib/ansible/modules/packaging/os/rhn_channel.py +++ b/lib/ansible/modules/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