Merge pull request #3283 from mscherer/fix_argument_rhn_register

Fix argument rhn register
This commit is contained in:
René Moser 2016-04-01 23:46:36 +02:00
commit db564c9b0f

View file

@ -307,11 +307,11 @@ def main():
argument_spec = dict( argument_spec = dict(
state = dict(default='present', choices=['present', 'absent']), state = dict(default='present', choices=['present', 'absent']),
username = dict(default=None, required=False), username = dict(default=None, required=False),
password = dict(default=None, required=False), password = dict(default=None, required=False, no_log=True),
server_url = dict(default=rhn.config.get_option('serverURL'), required=False), server_url = dict(default=rhn.config.get_option('serverURL'), required=False),
activationkey = dict(default=None, required=False), activationkey = dict(default=None, required=False, no_log=True),
profilename = dict(default=None, required=False), profilename = dict(default=None, required=False),
sslcacert = dict(default=None, required=False), sslcacert = dict(default=None, required=False, type='path'),
systemorgid = dict(default=None, required=False), systemorgid = dict(default=None, required=False),
enable_eus = dict(default=False, type='bool'), enable_eus = dict(default=False, type='bool'),
channels = dict(default=[], type='list'), channels = dict(default=[], type='list'),