From e5970186ad108488a4c657a3c9e88259e9fa7134 Mon Sep 17 00:00:00 2001 From: Bruce Pennypacker Date: Fri, 11 Dec 2015 16:06:33 +0000 Subject: [PATCH] Remove extraneous space from end of command string in nagios_cmd --- lib/ansible/modules/extras/monitoring/nagios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/monitoring/nagios.py b/lib/ansible/modules/extras/monitoring/nagios.py index e3c1a430d7..077dc19b6e 100644 --- a/lib/ansible/modules/extras/monitoring/nagios.py +++ b/lib/ansible/modules/extras/monitoring/nagios.py @@ -872,7 +872,7 @@ class Nagios(object): pre = '[%s]' % int(time.time()) post = '\n' - cmdstr = '%s %s %s' % (pre, cmd, post) + cmdstr = '%s %s%s' % (pre, cmd, post) self._write_command(cmdstr) def act(self):