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:
commit
46673cd620
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue