diff --git a/lib/ansible/module_utils/shell.py b/lib/ansible/module_utils/shell.py index a3abe16032..2e49f279b5 100644 --- a/lib/ansible/module_utils/shell.py +++ b/lib/ansible/module_utils/shell.py @@ -109,6 +109,7 @@ class Shell(object): self.shell = self.ssh.invoke_shell() self.shell.settimeout(10) + self.shell.sendall("\n") self.receive() def strip(self, data):