remove superfluous defaults

This commit is contained in:
Cove Schneider 2015-03-29 13:41:52 -07:00
parent 092cb5b4cd
commit 32878110d0

View file

@ -39,18 +39,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
timeout: timeout:
description: description:
- The timeout of API request(seconds). - The timeout of API request(seconds).
@ -63,7 +60,6 @@ options:
- When deleting screen(s), the screen_name is required. - When deleting screen(s), the screen_name is required.
- The available states are: present(default) and absent. If the screen(s) already exists, and the state is not "absent", the screen(s) will just be updated. - The available states are: present(default) and absent. If the screen(s) already exists, and the state is not "absent", the screen(s) will just be updated.
required: true required: true
default: null
notes: notes:
- Too many concurrent updates to the same screen may cause Zabbix to return errors, see examples for a workaround if needed. - Too many concurrent updates to the same screen may cause Zabbix to return errors, see examples for a workaround if needed.
''' '''
@ -321,7 +317,7 @@ class Screen(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),
timeout=dict(default=10), timeout=dict(default=10),