Remove log of command executed in persistent connection (#31583)

* Remove log of command executed in persistent connection (#31581)

(cherry picked from commit 97d5e0d027)

* Update changelog
This commit is contained in:
Ganesh Nalawade 2017-10-11 19:23:47 +05:30 committed by GitHub
parent e001fb7c14
commit 6cbdc17aa1
2 changed files with 1 additions and 1 deletions

View file

@ -124,6 +124,7 @@ Ansible Changes By Release
* Fix for the yum module when installing from file/url crashes (https://github.com/ansible/ansible/pull/31529)
* Improved error messaging for Windows become/runas when username is bogus (https://github.com/ansible/ansible/pull/31551)
* Fix rollback feature in junos_config to now allow configuration rollback on device (https://github.com/ansible/ansible/pull/31424)
* Remove command executed log from ansible-connection (https://github.com/ansible/ansible/pull/31581)
<a id="2.4"></a>

View file

@ -214,7 +214,6 @@ class Server():
def do_EXEC(self, data):
cmd = data.split(b'EXEC: ')[1]
display.display('Command executed: %s' % cmd, log_only=True)
return self.connection.exec_command(cmd)
def do_PUT(self, data):