44 lines
965 B
Python
44 lines
965 B
Python
"""
|
|
Core module - Configuration, constantes, exceptions et dépendances.
|
|
"""
|
|
|
|
from app.core.config import settings
|
|
from app.core.constants import (
|
|
HostStatus,
|
|
TaskStatus,
|
|
LogLevel,
|
|
ScheduleStatus,
|
|
NotificationType,
|
|
ACTION_PLAYBOOK_MAP,
|
|
)
|
|
from app.core.exceptions import (
|
|
HomelabException,
|
|
HostNotFoundException,
|
|
TaskNotFoundException,
|
|
ScheduleNotFoundException,
|
|
PlaybookNotFoundException,
|
|
GroupNotFoundException,
|
|
ValidationException,
|
|
AnsibleExecutionException,
|
|
BootstrapException,
|
|
)
|
|
|
|
__all__ = [
|
|
"settings",
|
|
"HostStatus",
|
|
"TaskStatus",
|
|
"LogLevel",
|
|
"ScheduleStatus",
|
|
"NotificationType",
|
|
"ACTION_PLAYBOOK_MAP",
|
|
"HomelabException",
|
|
"HostNotFoundException",
|
|
"TaskNotFoundException",
|
|
"ScheduleNotFoundException",
|
|
"PlaybookNotFoundException",
|
|
"GroupNotFoundException",
|
|
"ValidationException",
|
|
"AnsibleExecutionException",
|
|
"BootstrapException",
|
|
]
|