1
0
Fork 0
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:
Dag Wieers 2016-03-10 03:18:09 +01:00
parent 9318727021
commit d7d04ad2cd

View file

@ -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):