Here are the sample files associated with my blog entry on setting up HA PostgreSQL on Tribblix with patroni. The IP addresses and the like match that blog exactly, and will need changing if you have a different network setup.
These files configure a patroni cluster
my-ha-cluster, and assume you're using addresses
192.168.0.231, 192.168.0.232, and 192.168.0.233 for both the patroni
cluster members and for etcd.