mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-27 03:21:57 -06:00
Additional Ansible Changes
This commit is contained in:
@@ -1178,7 +1178,7 @@ async def connect():
|
||||
async def _svc_checkin_once():
|
||||
try:
|
||||
url = get_server_url().rstrip('/') + "/api/agent/checkin"
|
||||
payload = {"agent_id": AGENT_ID, "hostname": socket.gethostname(), "username": ".\\svcBorealisAnsibleRunner"}
|
||||
payload = {"agent_id": AGENT_ID, "hostname": socket.gethostname(), "username": ".\\svcBorealis"}
|
||||
timeout = aiohttp.ClientTimeout(total=10)
|
||||
async with aiohttp.ClientSession(timeout=timeout) as session:
|
||||
await session.post(url, json=payload)
|
||||
|
||||
Reference in New Issue
Block a user