Fix type of the rhn_register module
Password and activationkey should be tagged as no_log, as they are supposed to be secret. sslcacert is a path, so should be tagged as such.
This commit is contained in:
parent
70a3891b1e
commit
2b489e3257
1 changed files with 3 additions and 3 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue