diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2026-01-02 13:29:48 +0000 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2026-01-02 13:29:48 +0000 |
| commit | 0b52acfa72b6ac6aa6e006ea00459ae7ee112723 (patch) | |
| tree | 3236111da4135f215a507eb9d37ca105f35d4edf /files/hosts.j2 | |
| parent | 32bada629f7b2371c91177af834769c9435f3229 (diff) | |
Remove turn_server definition from inventory
My current deployment of non-transport servers looks like this:
xmpp-prod host:
chat.fennell.dev
chat.koyo.haus
prod turn server
xmpp-nonprod host:
chat.continuous.nonprod.fennell.dev
chat.continuous.nonprod.koyo.haus
nonprod turn server
So, for each environment, there are two XMPP servers and only a single turn
server.
Therefore, within each environment, all XMPP servers need to point to the same
turn server. I decided arbitrarily that that server would be defined for the
koyo.haus domain.
I used to have a variable defined for each host to manually point the turn
server to that domain. However, we can prevent some duplication of information
in the playbook if we just define the turn_domain (i.e. koyo.haus) in the
inventory, and then derive the full path for that environment from that.
Diffstat (limited to 'files/hosts.j2')
0 files changed, 0 insertions, 0 deletions
