aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/templates/radius
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2021-09-27 13:31:09 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2021-09-27 13:32:51 +0200
commitdcf6246255e41960c3dac49176abf77915a8b9c6 (patch)
treeece47f7f53f111c616fc94b1c50ad9763a2a7098 /roles/space_server/templates/radius
parent876be1edaf9758bf35ec8b1f73fb32aa4ceaaa21 (diff)
downloadlabitat-ansible-dcf6246255e41960c3dac49176abf77915a8b9c6.tar.gz
labitat-ansible-dcf6246255e41960c3dac49176abf77915a8b9c6.tar.xz
labitat-ansible-dcf6246255e41960c3dac49176abf77915a8b9c6.zip
space_server: use local_hosts where possible
..to make sure we keep ip addresses in sync everywhere
Diffstat (limited to 'roles/space_server/templates/radius')
-rw-r--r--roles/space_server/templates/radius/clients.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/space_server/templates/radius/clients.conf.j2 b/roles/space_server/templates/radius/clients.conf.j2
index 0e82666..805e419 100644
--- a/roles/space_server/templates/radius/clients.conf.j2
+++ b/roles/space_server/templates/radius/clients.conf.j2
@@ -1,12 +1,12 @@
client ap1 {
- ipaddr = 10.42.0.5
+ ipaddr = {{ local_hosts['ap1'].ipv4[0] }}
netmask = 32
secret = {{ radius_passwords.ap1 }}
nas_type = other
}
client ap2 {
- ipaddr = 10.42.0.6
+ ipaddr = {{ local_hosts['ap2'].ipv4[0] }}
netmask = 32
secret = {{ radius_passwords.ap2 }}
nas_type = other