start pipeline server init
This commit is contained in:
@ -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
|
||||
|
||||
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user