remove superfluous defaults

This commit is contained in:
Cove Schneider 2015-03-29 13:42:25 -07:00 committed by Rene Moser
parent 30832ab4d9
commit 8175bd2f78

View file

@ -36,18 +36,15 @@ options:
- Url of Zabbix server, with protocol (http or https). - Url of Zabbix server, with protocol (http or https).
C(url) is an alias for C(server_url). C(url) is an alias for C(server_url).
required: true required: true
default: null
aliases: [ "url" ] aliases: [ "url" ]
login_user: login_user:
description: description:
- Zabbix user name. - Zabbix user name.
required: true required: true
default: null
login_password: login_password:
description: description:
- Zabbix user password. - Zabbix user password.
required: true required: true
default: null
state: state:
description: description:
- Create or delete host group. - Create or delete host group.
@ -148,7 +145,7 @@ class HostGroup(object):
def main(): def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
server_url=dict(required=True, default=None, aliases=['url']), server_url=dict(required=True, aliases=['url']),
login_user=dict(required=True), login_user=dict(required=True),
login_password=dict(required=True), login_password=dict(required=True),
host_groups=dict(required=True), host_groups=dict(required=True),