1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #11183 from sivel/issue/11169-become-pass

Don't empty out become_pass. See #11169
This commit is contained in:
Brian Coca 2015-06-05 18:21:29 -04:00
commit 46673cd620

View file

@ -109,7 +109,6 @@ class ConnectionInformation:
self.become_method = play.become_method self.become_method = play.become_method
if play.become_user: if play.become_user:
self.become_user = play.become_user self.become_user = play.become_user
self.become_pass = play.become_pass
# non connection related # non connection related
self.no_log = play.no_log self.no_log = play.no_log
@ -132,7 +131,6 @@ class ConnectionInformation:
self.become = options.become self.become = options.become
self.become_method = options.become_method self.become_method = options.become_method
self.become_user = options.become_user self.become_user = options.become_user
self.become_pass = ''
# general flags (should we move out?) # general flags (should we move out?)
if options.verbosity: if options.verbosity: