23 lines
541 B
Python
23 lines
541 B
Python
# Copyright: (c) 2024, Luca Bilke <luca@bil.ke>
|
|
# MIT License (see LICENSE)
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING, Any
|
|
|
|
from ansible_collections.snailed.ez_compose.plugins.module_utils import service
|
|
|
|
if TYPE_CHECKING:
|
|
from ansible_collections.snailed.ez_compose.plugins.module_utils.common import (
|
|
State,
|
|
)
|
|
|
|
EXTRA_ARGS = {}
|
|
|
|
|
|
def helper(state: State, params: dict[str, Any]) -> State:
|
|
update = {
|
|
"privileged": True,
|
|
}
|
|
|
|
return service.common.update(state, params, update)
|