|
|
@ -37,18 +37,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
|
|
|
|
|
|
|
|
host_name:
|
|
|
|
host_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Technical name of the host.
|
|
|
|
- Technical name of the host.
|
|
|
@ -174,7 +171,7 @@ class HostMacro(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_name=dict(required=True),
|
|
|
|
host_name=dict(required=True),
|
|
|
|