diff --git a/CHANGELOG.md b/CHANGELOG.md index e91f9b21e6e..216a2744844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ Ansible Changes By Release * performance improvment for inventory, had slown down considerably from 2.3 * Fix cpu facts on sparc64 (https://github.com/ansible/ansible/pull/30261) * Fix ansible_distribution fact for Arch linux (https://github.com/ansible/ansible/issues/30600) +* remove print statements from play_context/become diff --git a/lib/ansible/playbook/play_context.py b/lib/ansible/playbook/play_context.py index 6d48ed2539e..5393cf58393 100644 --- a/lib/ansible/playbook/play_context.py +++ b/lib/ansible/playbook/play_context.py @@ -545,8 +545,6 @@ class PlayContext(Base): # set flags to use for the privilege escalation method, with various overrides flags = self.become_flags or getattr(self, '%s_flags' % self.become_method, '') - print(exe) - print(flags) if self.become_method == 'sudo': # If we have a password, we run sudo with a randomly-generated # prompt set using -p. Otherwise we run it with default -n, which makes