jumpserver/apps/ops/ansible/utils.py

7 lines
191 B
Python
Raw Normal View History

from django.conf import settings
def get_ansible_task_log_path(task_id):
from ops.utils import get_task_log_path
2022-11-11 11:20:17 +00:00
return get_task_log_path(settings.CELERY_LOG_DIR, task_id, level=2)