From f963db6c2aa398cc995e591d43eaaf0a5541eb61 Mon Sep 17 00:00:00 2001 From: Jeroen Hoekx Date: Mon, 29 Oct 2012 10:57:13 +0100 Subject: [PATCH] Fix output of pause plugin. --- lib/ansible/runner/action_plugins/pause.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/action_plugins/pause.py b/lib/ansible/runner/action_plugins/pause.py index 2a7c670868..6c9f732bd6 100644 --- a/lib/ansible/runner/action_plugins/pause.py +++ b/lib/ansible/runner/action_plugins/pause.py @@ -48,7 +48,7 @@ class ActionModule(object): def run(self, conn, tmp, module_name, module_args, inject): ''' run the pause actionmodule ''' - hosts = ', '.join(map(lambda x: x[1], self.runner.host_set)) + hosts = ', '.join(self.runner.host_set) args = parse_kv(template(self.runner.basedir, module_args, inject)) # Are 'minutes' or 'seconds' keys that exist in 'args'?