From ef56f9a44cc179bfdd800c6f3186820ca056ad84 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Tue, 26 Sep 2017 15:56:18 +1000 Subject: [PATCH] Remove print statements from play_context Caused spurious output, particularly obvious when in `become` mode --- lib/ansible/playbook/play_context.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/playbook/play_context.py b/lib/ansible/playbook/play_context.py index 94f0dbe098..becc18ec09 100644 --- a/lib/ansible/playbook/play_context.py +++ b/lib/ansible/playbook/play_context.py @@ -533,8 +533,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