24 lines
531 B
Python
24 lines
531 B
Python
# Copyright: (c) 2025, Luca Bilke <luca@bil.ke>
|
|
# MIT License (see LICENSE)
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING, Any
|
|
|
|
if TYPE_CHECKING:
|
|
from ansible_collections.snailed.ez_docker.plugins.module_utils.models import State
|
|
|
|
DOCUMENTATION = """
|
|
redis:
|
|
description:
|
|
- Configuration for redis service.
|
|
type: list
|
|
elements: dict
|
|
suboptions:
|
|
"""
|
|
|
|
EXTRA_ARGS = {}
|
|
|
|
|
|
def helper(_state: State, _params: dict[str, Any]) -> dict[str, Any]:
|
|
return {"networks": {"internal": {}}}
|