Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* ansible-collections/news-for-maintainers#9 fixes

* Update plugins/connection/httpapi.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/httpapi/jsonrpc.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix versions to required major versions

* correct version_added for plugins

* version_added for zabbix_autoregister

Co-authored-by: Felix Fontein <felix@fontein.de>
  • Loading branch information
D3DeFi and felixfontein authored Mar 8, 2022
1 parent 393aa7a commit fa779d3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions plugins/connection/httpapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
__metaclass__ = type

DOCUMENTATION = """
author: fischbacher.markus@gmail.com
connection: zabbix
name: httpapi
author: Markus Fischbacher (@rockaut)
short_description: Use httpapi to run command on network appliances
description:
- This connection plugin provides a connection to Zabbix jsonrpc api over a HTTP(S).
notes:
- The connection plugin is basically just a copy of ansible.netcommon.httpapi with
some changes around auth to Zabbix API.
version_added: 1.5.1
version_added: 1.6.0
extends_documentation_fragment:
- community.zabbix.connection_persistent
options:
Expand Down
6 changes: 3 additions & 3 deletions plugins/httpapi/jsonrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

DOCUMENTATION = """
---
author: fischbacher.markus@gmail.com
httpapi : zabbix
name: jsonrpc
author: Markus Fischbacher (@rockaut)
short_description: HttpApi Plugin for Zabbix
description:
- This HttpApi plugin provides methods to connect to Zabbix over their HTTP(S)-based api.
version_added: "1.5.1"
version_added: 1.6.0
"""

import json
Expand Down
3 changes: 1 addition & 2 deletions plugins/inventory/zabbix_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
__metaclass__ = type

DOCUMENTATION = r'''
name: community.zabbix.zabbix_inventory
plugin_type: inventory
name: zabbix_inventory
author:
- Timothy Test (@ttestscripting)
short_description: Zabbix Inventory Plugin
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/zabbix_autoregister.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
requirements:
- "zabbix-api >= 0.5.4"
version_added: 1.6.0
options:
tls_accept:
description:
Expand Down

0 comments on commit fa779d3

Please sign in to comment.