mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix misspelling and some cosmetic change
This commit is contained in:
parent
9318727021
commit
d7d04ad2cd
1 changed files with 2 additions and 3 deletions
|
@ -31,7 +31,7 @@ except ImportError:
|
|||
|
||||
class Become:
|
||||
|
||||
# Privlege escalation
|
||||
# Privilege escalation
|
||||
_become = FieldAttribute(isa='bool')
|
||||
_become_method = FieldAttribute(isa='string')
|
||||
_become_user = FieldAttribute(isa='string')
|
||||
|
@ -60,7 +60,7 @@ class Become:
|
|||
|
||||
This is called from the Base object's preprocess_data() method which
|
||||
in turn is called pretty much anytime any sort of playbook object
|
||||
(plays, tasks, blocks, etc) are created.
|
||||
(plays, tasks, blocks, etc) is created.
|
||||
"""
|
||||
|
||||
self._detect_privilege_escalation_conflict(ds)
|
||||
|
@ -90,7 +90,6 @@ class Become:
|
|||
|
||||
display.deprecated("Instead of su/su_user, use become/become_user and set become_method to 'su' (default is sudo)")
|
||||
|
||||
|
||||
return ds
|
||||
|
||||
def set_become_defaults(self, become, become_method, become_user):
|
||||
|
|
Loading…
Reference in a new issue