1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed debug statement

This commit is contained in:
Brian Coca 2015-08-07 15:25:58 -04:00
parent 177499476b
commit df768e0db4

View file

@ -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(