mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
minor documentation fixes
This commit is contained in:
parent
0456685726
commit
caeeacd4f4
4 changed files with 21 additions and 44 deletions
|
@ -24,10 +24,8 @@ DOCUMENTATION = '''
|
|||
module: zabbix_hostmacro
|
||||
short_description: Zabbix host macro creates/updates/deletes
|
||||
description:
|
||||
- When the host macro does not exists, a new macro will be created, added to specific host.
|
||||
- When the host macro already exists, the value will be updated.
|
||||
- Delete a host macro from Zabbix if the macro exists.
|
||||
version_added: "1.9"
|
||||
- manages Zabbix host macros, it can create, update or delete them.
|
||||
version_added: "2.0"
|
||||
author: Dean Hailin Song
|
||||
requirements:
|
||||
- zabbix-api python module
|
||||
|
@ -35,28 +33,23 @@ options:
|
|||
server_url:
|
||||
description:
|
||||
- Url of Zabbix server, with protocol (http or https).
|
||||
C(url) is an alias for C(server_url).
|
||||
required: true
|
||||
default: null
|
||||
aliases: [ "url" ]
|
||||
login_user:
|
||||
description:
|
||||
- Zabbix user name.
|
||||
required: true
|
||||
default: null
|
||||
login_password:
|
||||
description:
|
||||
- Zabbix user password.
|
||||
required: true
|
||||
default: null
|
||||
host_name:
|
||||
description:
|
||||
- Technical name of the host.
|
||||
- If the host has already been added, the host name won't be updated.
|
||||
- Name of the host.
|
||||
required: true
|
||||
macro_name:
|
||||
description:
|
||||
- Technical name of the host macro.
|
||||
- Name of the host macro.
|
||||
required: true
|
||||
macro_value:
|
||||
description:
|
||||
|
@ -64,8 +57,7 @@ options:
|
|||
required: true
|
||||
state:
|
||||
description:
|
||||
- create/update or delete macro.
|
||||
- Possible values are: present and absent. If the macro already exists, and the state is "present", just to update the macro.
|
||||
- 'Possible values are: "present" and "absent". If the macro already exists, and the state is "present", it will just to update the macro if needed.'
|
||||
required: false
|
||||
default: "present"
|
||||
timeout:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue