mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 11:22:47 +00:00
fix type error.
This commit is contained in:
@@ -171,7 +171,7 @@ class CLI(object):
|
||||
self.options.become_method = 'sudo'
|
||||
elif self.options.su:
|
||||
self.options.become = True
|
||||
options.become_method = 'su'
|
||||
self.options.become_method = 'su'
|
||||
|
||||
|
||||
def validate_conflicts(self, vault_opts=False, runas_opts=False):
|
||||
|
||||
Reference in New Issue
Block a user