Commit d21281ff by Paul Durivage

Resolve rebase conflicts

parent ab6ee1a2
...@@ -325,7 +325,7 @@ class PlayBook(object): ...@@ -325,7 +325,7 @@ class PlayBook(object):
private_key_file=self.private_key_file, private_key_file=self.private_key_file,
setup_cache=self.SETUP_CACHE, setup_cache=self.SETUP_CACHE,
basedir=task.play.basedir, basedir=task.play.basedir,
conditional=task.only_if, conditional=task.when,
callbacks=self.runner_callbacks, callbacks=self.runner_callbacks,
sudo=task.sudo, sudo=task.sudo,
sudo_user=task.sudo_user, sudo_user=task.sudo_user,
......
...@@ -229,7 +229,7 @@ class Connection(object): ...@@ -229,7 +229,7 @@ class Connection(object):
if p.stderr in rfd: if p.stderr in rfd:
chunk = p.stderr.read() chunk = p.stderr.read()
if not chunk: if not chunk:
raise errors.AnsibleError('ssh connection closed waiting for sudo password prompt') raise errors.AnsibleError('ssh connection closed waiting for sudo or su password prompt')
sudo_errput += chunk sudo_errput += chunk
incorrect_password = gettext.dgettext( incorrect_password = gettext.dgettext(
"sudo", "Sorry, try again.") "sudo", "Sorry, try again.")
......
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