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
pull/31665/head
Ganesh Nalawade 7 years ago committed by GitHub
parent e001fb7c14
commit 6cbdc17aa1

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

@ -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):

Loading…
Cancel
Save