diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-03-29 16:51:30 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-03-29 16:51:30 -0400 |
commit | 510b77ca0e7b72940a2f0acd45c0df2a7a524e26 (patch) | |
tree | 85afaac5357f7ff6869a75df64d1e9d51d997dba /monitoring/zabbix_hostmacro.py | |
parent | fa5cbcc17cc8226fe05bb5b960e5f5b6654bc6b8 (diff) | |
download | ansible-modules-extras-510b77ca0e7b72940a2f0acd45c0df2a7a524e26.tar.gz |
minor documentation fixes
Diffstat (limited to 'monitoring/zabbix_hostmacro.py')
-rw-r--r-- | monitoring/zabbix_hostmacro.py | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/monitoring/zabbix_hostmacro.py b/monitoring/zabbix_hostmacro.py index 6cd95b71..871a974f 100644 --- a/monitoring/zabbix_hostmacro.py +++ b/monitoring/zabbix_hostmacro.py @@ -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: |