mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-16 14:09:12 -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
|
@ -22,7 +22,6 @@ __metaclass__ = type
|
|||
from ansible.errors import AnsibleParserError
|
||||
from ansible.playbook.attribute import FieldAttribute
|
||||
from ansible.playbook.base import Base
|
||||
from ansible.playbook.become import Become
|
||||
from ansible.playbook.conditional import Conditional
|
||||
from ansible.playbook.collectionsearch import CollectionSearch
|
||||
from ansible.playbook.helpers import load_list_of_tasks
|
||||
|
@ -31,7 +30,7 @@ from ansible.playbook.taggable import Taggable
|
|||
from ansible.utils.sentinel import Sentinel
|
||||
|
||||
|
||||
class Block(Base, Become, Conditional, CollectionSearch, Taggable):
|
||||
class Block(Base, Conditional, CollectionSearch, Taggable):
|
||||
|
||||
# main block fields containing the task lists
|
||||
_block = FieldAttribute(isa='list', default=list, inherit=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue