pip list update
All checks were successful
Build And Test / build-and-push (push) Successful in 2m40s

This commit is contained in:
2025-05-21 08:23:35 +09:00
parent 9d04482809
commit 8aa366d143
3 changed files with 8 additions and 9 deletions

View File

@ -47,7 +47,7 @@ class AnsibleTaskViewSet(viewsets.ModelViewSet):
token = request.headers.get("Authorization", "").replace("Bearer ", "")
ssh_key = get_ssh_key_from_auth_server(token)
run_ansible_job(task, ssh_key)
logger.info(f"[실행 완료] user={user.email}, key_name={key_name}, 작업={self.get_serializer(task).data}")
logger.info(f"[실행 완료] user={request.user.email}, 작업={self.get_serializer(task).data}")
return Response(self.get_serializer(task).data)
except Exception as e: