mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-24 01:49:08 -07:00
become mixin is no more (#54002)
* become mixin is no more since sudo/su keywords are removed in 2.9 .. no need to keep this code around * also don't need test for code that is removed * made preprocess_data on base noop its not used by anything anymore, but kept for backwards compat since other methods of same name are used
This commit is contained in:
parent
9ddde6b27f
commit
e40832df84
11 changed files with 23 additions and 219 deletions
|
@ -27,7 +27,6 @@ from ansible.module_utils.six import iteritems, string_types
|
|||
from ansible.parsing.yaml.objects import AnsibleBaseYAMLObject, AnsibleMapping
|
||||
from ansible.playbook.attribute import Attribute, FieldAttribute
|
||||
from ansible.playbook.base import Base
|
||||
from ansible.playbook.become import Become
|
||||
from ansible.playbook.collectionsearch import CollectionSearch
|
||||
from ansible.playbook.conditional import Conditional
|
||||
from ansible.playbook.taggable import Taggable
|
||||
|
@ -41,7 +40,7 @@ __all__ = ['RoleDefinition']
|
|||
display = Display()
|
||||
|
||||
|
||||
class RoleDefinition(Base, Become, Conditional, Taggable, CollectionSearch):
|
||||
class RoleDefinition(Base, Conditional, Taggable, CollectionSearch):
|
||||
|
||||
_role = FieldAttribute(isa='string')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue