Resolution: Won't Do
Affects Version/s: None
Fix Version/s: None
Perhaps I am mistaken, but it seems there is currently no way to dynamically reference the hostname of a task and use it as an env variable value. I'm sure the use cases for this are obvious and many.
To be specific: currently, the json usage
will set CASSANDRA_BROADCAST_ADDRESS to the value "$HOSTNAME", instead of trying to resolve it to a valid hostname based on the machine the task is then run on.
This is exceptionally useful when working with docker apps that will use the conatiner's hostname as a default for some env variable, and it needs to be overridden to the actual machine's hostname.
A good example: https://hub.docker.com/_/cassandra/
Using the value "CASSANDRA_BROADCAST_ADDRESS":"auto" would set the value to the container hostname, instead of the machine hostname.