1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix output of pause plugin.

This commit is contained in:
Jeroen Hoekx 2012-10-29 10:57:13 +01:00
parent 77162e95e4
commit f963db6c2a

View file

@ -48,7 +48,7 @@ class ActionModule(object):
def run(self, conn, tmp, module_name, module_args, inject): def run(self, conn, tmp, module_name, module_args, inject):
''' run the pause actionmodule ''' ''' 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)) args = parse_kv(template(self.runner.basedir, module_args, inject))
# Are 'minutes' or 'seconds' keys that exist in 'args'? # Are 'minutes' or 'seconds' keys that exist in 'args'?