mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-09 10:41:31 -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
|
@ -30,7 +30,6 @@ from ansible.parsing.yaml.objects import AnsibleBaseYAMLObject, AnsibleMapping
|
|||
from ansible.plugins.loader import lookup_loader
|
||||
from ansible.playbook.attribute import FieldAttribute
|
||||
from ansible.playbook.base import Base
|
||||
from ansible.playbook.become import Become
|
||||
from ansible.playbook.block import Block
|
||||
from ansible.playbook.collectionsearch import CollectionSearch
|
||||
from ansible.playbook.conditional import Conditional
|
||||
|
@ -45,7 +44,7 @@ __all__ = ['Task']
|
|||
display = Display()
|
||||
|
||||
|
||||
class Task(Base, Conditional, Taggable, Become, CollectionSearch):
|
||||
class Task(Base, Conditional, Taggable, CollectionSearch):
|
||||
|
||||
"""
|
||||
A task is a language feature that represents a call to a module, with given arguments and other parameters.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue