mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
fixed bug on using su on play level not setting become method correctly
This commit is contained in:
Submodule lib/ansible/modules/core updated: 34c4e0d495...31cc5f543f
@@ -172,6 +172,7 @@ class Play(object):
|
||||
elif 'su' in ds:
|
||||
self.become=True
|
||||
self.become=ds['su']
|
||||
self.become_method='su'
|
||||
if 'su_user' in ds:
|
||||
self.become_user=ds['su_user']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user