summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-10-11 19:23:47 +0530
committerGitHub <noreply@github.com>2017-10-11 19:23:47 +0530
commit6cbdc17aa1e4c18d922d680fe01b0155d2a2d68e (patch)
tree46beb9d8618a1aa7846c5a3ed9f63e7b586d2dfc
parente001fb7c149cd2784d0a3e54fe79e6d1b97ad919 (diff)
downloadansible-6cbdc17aa1e4c18d922d680fe01b0155d2a2d68e.tar.gz
Remove log of command executed in persistent connection (#31583)
* Remove log of command executed in persistent connection (#31581) (cherry picked from commit 97d5e0d0276c054882d3039d77c6edfe391d10d1) * Update changelog
-rw-r--r--CHANGELOG.md1
-rwxr-xr-xbin/ansible-connection1
2 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 253c7cbb82..525e50ce4a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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>
diff --git a/bin/ansible-connection b/bin/ansible-connection
index 31fd0ac0f7..dd727743da 100755
--- a/bin/ansible-connection
+++ b/bin/ansible-connection
@@ -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):