diff --git a/lib/ansible/runner/action_plugins/pause.py b/lib/ansible/runner/action_plugins/pause.py index 8aaa87f454e..c6a06dcd7cd 100644 --- a/lib/ansible/runner/action_plugins/pause.py +++ b/lib/ansible/runner/action_plugins/pause.py @@ -77,11 +77,11 @@ class ActionModule(object): # Is 'prompt' a key in 'args'? elif 'prompt' in args: self.pause_type = 'prompt' - self.prompt = "[%s]\n%s: " % (hosts, args['prompt']) + self.prompt = "[%s]\n%s:\n" % (hosts, args['prompt']) # Is 'args' empty, then this is the default prompted pause elif len(args.keys()) == 0: self.pause_type = 'prompt' - self.prompt = "[%s]\nPress enter to continue: " % hosts + self.prompt = "[%s]\nPress enter to continue:\n" % hosts # I have no idea what you're trying to do. But it's so wrong. else: raise ae("invalid pause type given. must be one of: %s" % \