From 6cbdc17aa1e4c18d922d680fe01b0155d2a2d68e Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Wed, 11 Oct 2017 19:23:47 +0530 Subject: [PATCH] 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 --- CHANGELOG.md | 1 + bin/ansible-connection | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 253c7cbb826..525e50ce4ae 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) diff --git a/bin/ansible-connection b/bin/ansible-connection index 31fd0ac0f70..dd727743da4 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):