{{- $chassisType := "desktop" }} {{- $chassisType = (output "hostnamectl" "--json=short" | mustFromJson).Chassis }} [data] chassisType = {{ $chassisType| quote }}