Commit 0d5bee2d by Michael DeHaan

Revert "Revert "Actually wait for password prompt in remote sudo execution. …

Revert "Revert "Actually wait for password prompt in remote sudo execution.  Totally breaks stderr debugging"

This reverts commit e1611403.

Conflicts:

	lib/ansible/connection.py
parent 40f60353
......@@ -3,6 +3,7 @@
- hosts: all
user: root
sudo: True
tasks:
......
......@@ -26,6 +26,8 @@ import re
import shutil
import subprocess
import pipes
import socket
import random
from ansible import errors
# prevent paramiko warning noise
......@@ -37,6 +39,7 @@ with warnings.catch_warnings():
################################################
RANDOM_PROMPT_LEN = 32 # 32 random chars in [a-z] gives > 128 bits of entropy
class Connection(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment