minor documentation fixes

This commit is contained in:
Brian Coca 2015-03-29 16:51:30 -04:00 committed by Matt Clay
commit caeeacd4f4
4 changed files with 21 additions and 44 deletions

View file

@ -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: