start pipeline server init

This commit is contained in:
2025-10-26 22:08:56 -07:00
parent 099492e3a6
commit 280066436a
8 changed files with 132 additions and 112 deletions

View File

@ -1 +1,3 @@
This role will install an API at port 5000 to get disk capacity data
This role will install an API at port 5000 to get disk capacity data and disk health
This is used with the storage site visible to members of the disk-api group at groups.matt-cloud.com

View File

@ -77,7 +77,7 @@ def get_crystal_disk_info():
if any(value is not None for value in data.values()):
drives.append(data)
data["Hostname"] = {{ hostname_output.stdout_lines[0] }}
data["Hostname"] = "{{ hostname_output.stdout_lines[0] }}"
if not drives:
raise ValueError("No drive data found")