2017-10-16 13:42:28 +00:00
|
|
|
# Copyright (c) 2017 Ansible, Inc
|
|
|
|
#
|
|
|
|
# This file is part of Ansible
|
|
|
|
#
|
|
|
|
# Ansible is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Ansible is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Standard documentation fragment
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
options:
|
2017-10-17 15:03:51 +00:00
|
|
|
server_url:
|
|
|
|
description:
|
2018-02-15 03:48:57 +00:00
|
|
|
- URL of Zabbix server, with protocol (http or https).
|
2017-10-17 15:03:51 +00:00
|
|
|
C(url) is an alias for C(server_url).
|
|
|
|
required: true
|
|
|
|
aliases: [ "url" ]
|
|
|
|
login_user:
|
|
|
|
description:
|
|
|
|
- Zabbix user name.
|
|
|
|
required: true
|
|
|
|
login_password:
|
|
|
|
description:
|
|
|
|
- Zabbix user password.
|
|
|
|
required: true
|
|
|
|
http_login_user:
|
|
|
|
description:
|
|
|
|
- Basic Auth login
|
|
|
|
version_added: "2.1"
|
|
|
|
http_login_password:
|
|
|
|
description:
|
|
|
|
- Basic Auth password
|
|
|
|
version_added: "2.1"
|
|
|
|
timeout:
|
|
|
|
description:
|
2018-02-15 03:48:57 +00:00
|
|
|
- The timeout of API request (seconds).
|
2017-10-17 15:03:51 +00:00
|
|
|
default: 10
|
2017-10-16 13:42:28 +00:00
|
|
|
validate_certs:
|
|
|
|
description:
|
|
|
|
- If set to False, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
|
2018-03-15 21:15:24 +00:00
|
|
|
type: bool
|
|
|
|
default: 'yes'
|
2017-10-16 13:42:28 +00:00
|
|
|
version_added: "2.5"
|
|
|
|
'''
|