From a6f4ff7fa0677b41cd42607025f4dafd00b8b4d4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 28 Jul 2014 19:38:31 +0000 Subject: [PATCH] Don't double copy nagios plugins on noc servers. --- roles/nagios_client/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_client/tasks/main.yml b/roles/nagios_client/tasks/main.yml index e12b491baf..5a62458755 100644 --- a/roles/nagios_client/tasks/main.yml +++ b/roles/nagios_client/tasks/main.yml @@ -19,7 +19,6 @@ - nagios_client - name: install local nrpe check scripts that are not packaged - copy: src="scripts/{{ item }}" dest="{{ libdir }}/nagios/plugins/{{ item }}" mode=0755 owner=nagios group=nagios with_items: - check_postfix_queue @@ -31,6 +30,7 @@ - check_fedmsg_producers_consumers.py - check_supybot_plugin - check_datanommer_timesince.py + when: not inventory_hostname.startswith('noc') tags: - nagios_client