vars: use apartment block id for subnets
This commit is contained in:
parent
4866ce915c
commit
a6b15c0e10
5 changed files with 9 additions and 20 deletions
|
@ -53,6 +53,11 @@ backup_dns_servers:
|
||||||
# Misc
|
# Misc
|
||||||
mtu: 1400
|
mtu: 1400
|
||||||
|
|
||||||
|
subnet_ids:
|
||||||
|
ap: "14{{ apartment_block_id }}"
|
||||||
|
users_wired: "{{ apartment_block_id }}0"
|
||||||
|
users_wifi: "{{ apartment_block_id }}1"
|
||||||
|
|
||||||
|
|
||||||
# Keepalived
|
# Keepalived
|
||||||
keepalived_password: "{{ vault_keepalived_password[apartment_block] }}"
|
keepalived_password: "{{ vault_keepalived_password[apartment_block] }}"
|
||||||
|
@ -70,3 +75,7 @@ radius_secret_wired: "{{ vault_radius_secrets.wired[apartment_block] }}"
|
||||||
|
|
||||||
radius_pg_replication_password: "{{ vault_re2o_db_user_passwords.replication }}"
|
radius_pg_replication_password: "{{ vault_re2o_db_user_passwords.replication }}"
|
||||||
radius_pg_re2o_ro_password: "{{ vault_re2o_db_user_passwords.re2o_ro }}"
|
radius_pg_re2o_ro_password: "{{ vault_re2o_db_user_passwords.re2o_ro }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
apartment_block: edc
|
apartment_block: edc
|
||||||
apartment_block_id: 4
|
apartment_block_id: 4
|
||||||
|
|
||||||
subnet_ids:
|
|
||||||
ap: 144
|
|
||||||
users_wired: 40
|
|
||||||
users_wifi: 41
|
|
||||||
|
|
||||||
router_ip_suffix: 254
|
router_ip_suffix: 254
|
||||||
|
|
||||||
mtu: 1500
|
mtu: 1500
|
||||||
|
|
|
@ -2,9 +2,4 @@
|
||||||
apartment_block: fleming
|
apartment_block: fleming
|
||||||
apartment_block_id: 1
|
apartment_block_id: 1
|
||||||
|
|
||||||
subnet_ids:
|
|
||||||
ap: 141
|
|
||||||
users_wired: 10
|
|
||||||
users_wifi: 11
|
|
||||||
|
|
||||||
router_ip_suffix: 254
|
router_ip_suffix: 254
|
||||||
|
|
|
@ -2,9 +2,4 @@
|
||||||
apartment_block: gs
|
apartment_block: gs
|
||||||
apartment_block_id: 5
|
apartment_block_id: 5
|
||||||
|
|
||||||
subnet_ids:
|
|
||||||
ap: 145
|
|
||||||
users_wired: 50
|
|
||||||
users_wifi: 51
|
|
||||||
|
|
||||||
router_ip_suffix: 240
|
router_ip_suffix: 240
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
apartment_block: pacaterie
|
apartment_block: pacaterie
|
||||||
apartment_block_id: 2
|
apartment_block_id: 2
|
||||||
|
|
||||||
subnet_ids:
|
|
||||||
ap: 142
|
|
||||||
users_wired: 20
|
|
||||||
users_wifi: 21
|
|
||||||
|
|
||||||
router_ip_suffix: 254
|
router_ip_suffix: 254
|
||||||
|
|
||||||
mtu: 1500
|
mtu: 1500
|
||||||
|
|
Loading…
Reference in a new issue