How to have similar cassandra.yaml across cluster?

Author: Doron Veeder

I want to configure a cassandra cluster and i want that the cassandra.yaml configuration file will be the same cross the nodes. the problem is that the listen_address has to be different on each node. As this is a yaml file, is it possible to include another yaml file? so that the main cassandra.yaml is the same and just the listen_address.yaml will differ across the cluster.

I'm not sure of the yaml syntax, but i know it can include files - will the cassandra use it?

[SNIP] ...

listen_address: !include listen_address.yaml ...

the above did not work for me. is it possible at all for cassandra?

Originally Sourced from: https://stackoverflow.com/questions/57452093/how-to-have-similar-cassandra-yaml-across-cluster