fixed debug statement
This commit is contained in:
parent
177499476b
commit
df768e0db4
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class Connection(ConnectionBase):
|
||||||
if self.check_become_success(become_output) or self.check_password_prompt(become_output):
|
if self.check_become_success(become_output) or self.check_password_prompt(become_output):
|
||||||
break
|
break
|
||||||
chunk = chan.recv(bufsize)
|
chunk = chan.recv(bufsize)
|
||||||
print("chunk is: %s" % chunk)
|
self._display.debug("chunk is: %s" % chunk)
|
||||||
if not chunk:
|
if not chunk:
|
||||||
if 'unknown user' in become_output:
|
if 'unknown user' in become_output:
|
||||||
raise AnsibleError(
|
raise AnsibleError(
|
||||||
|
|
Loading…
Reference in a new issue