From 63817f7c1b88523fa092f0c2bc59e00b42e85e03 Mon Sep 17 00:00:00 2001 From: Vladimir Botka Date: Tue, 12 Jan 2021 11:03:39 +0100 Subject: [PATCH] Updated doc. Module not idempotent. delegate_to not needed. (#1587) --- plugins/modules/monitoring/nagios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/monitoring/nagios.py b/plugins/modules/monitoring/nagios.py index f1f2044e4e..248fd1051d 100644 --- a/plugins/modules/monitoring/nagios.py +++ b/plugins/modules/monitoring/nagios.py @@ -19,6 +19,7 @@ module: nagios short_description: Perform common tasks in Nagios related to downtime and notifications. description: - "The C(nagios) module has two basic functions: scheduling downtime and toggling alerts for services or hosts." + - The C(nagios) module is not idempotent. - All actions require the I(host) parameter to be given explicitly. In playbooks you can use the C({{inventory_hostname}}) variable to refer to the host the playbook is currently running on. - You can specify multiple services at once by separating them with commas, .e.g., C(services=httpd,nfs,puppet). @@ -26,7 +27,6 @@ description: e.g., C(service=host). This keyword may not be given with other services at the same time. I(Setting alerts/downtime/acknowledge for a host does not affect alerts/downtime/acknowledge for any of the services running on it.) To schedule downtime for all services on particular host use keyword "all", e.g., C(service=all). - - When using the C(nagios) module you will need to specify your Nagios server using the C(delegate_to) parameter. options: action: description: