I'm looking for assistance with a shell command that isn't behaving correctly. I have others operating the same device correctly but they don't have a variable in them, for some reason the pipe isn't processing
device_volume_set: "echo -n '!vol {{ volume }}' | nc -w 1 host.fqdn port"
I also tried
device_volume_set: 'echo -n "!vol {{ volume }}" | nc -w 1 host.fqdn port'
and
device_volume_set: "printf '!vol {{ volume }}' | nc -w 1 host.fqdn port"
Any ideas? thanks!