Remove print statements from play_context
Caused spurious output, particularly obvious when in `become` mode
This commit is contained in:
parent
c3707aaf37
commit
ef56f9a44c
1 changed files with 0 additions and 2 deletions
|
@ -533,8 +533,6 @@ class PlayContext(Base):
|
||||||
# set flags to use for the privilege escalation method, with various overrides
|
# set flags to use for the privilege escalation method, with various overrides
|
||||||
flags = self.become_flags or getattr(self, '%s_flags' % self.become_method, '')
|
flags = self.become_flags or getattr(self, '%s_flags' % self.become_method, '')
|
||||||
|
|
||||||
print(exe)
|
|
||||||
print(flags)
|
|
||||||
if self.become_method == 'sudo':
|
if self.become_method == 'sudo':
|
||||||
# If we have a password, we run sudo with a randomly-generated
|
# 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
|
# prompt set using -p. Otherwise we run it with default -n, which makes
|
||||||
|
|
Loading…
Reference in a new issue