2018-12-23 12:20:19 +01:00
|
|
|
---
|
2019-05-03 14:46:58 +02:00
|
|
|
# Use Python 3
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
|
2018-12-23 12:20:19 +01:00
|
|
|
# LDAP binding
|
2019-01-03 14:51:11 +01:00
|
|
|
# You can hash LDAP passwords with `slappasswd` tool
|
2018-12-23 12:20:19 +01:00
|
|
|
ldap_base: 'dc=auro,dc=re'
|
2020-11-02 17:25:26 +01:00
|
|
|
ldap_master_ipv4: '10.128.0.21'
|
2020-02-20 19:08:09 +01:00
|
|
|
ldap_master_uri: "ldap://re2o-ldap.adm.auro.re"
|
2019-02-26 16:49:18 +01:00
|
|
|
ldap_user_tree: "cn=Utilisateurs,{{ ldap_base }}"
|
2019-01-03 14:51:11 +01:00
|
|
|
ldap_nslcd_bind_dn: "cn=nslcd,ou=service-users,{{ ldap_base }}"
|
|
|
|
ldap_nslcd_passwd: "{{ vault_ldap_nslcd_passwd }}"
|
2019-02-26 16:49:18 +01:00
|
|
|
ldap_matrix_bind_dn: "cn=matrix,ou=service-users,{{ ldap_base }}"
|
|
|
|
ldap_matrix_password: "{{ vault_ldap_matrix_password }}"
|
2019-01-03 16:43:50 +01:00
|
|
|
ldap_replica_password: "{{ vault_ldap_replica_password }}"
|
2020-05-16 21:43:23 +02:00
|
|
|
ldap_admin_password: "{{ vault_ldap_admin_password }}"
|
2019-01-03 14:51:11 +01:00
|
|
|
ldap_admin_hashed_passwd: "{{ vault_ldap_admin_hashed_passwd }}"
|
2018-12-23 12:20:19 +01:00
|
|
|
|
2019-02-09 08:29:50 +01:00
|
|
|
# Databases
|
|
|
|
postgresql_services_url: 'services-bdd.adm.auro.re'
|
2019-02-26 13:23:14 +01:00
|
|
|
postgresql_synapse_passwd: "{{ vault_postgresql_synapse_passwd }}"
|
2019-02-09 08:29:50 +01:00
|
|
|
postgresql_codimd_passwd: "{{ vault_postgresql_codimd_passwd }}"
|
|
|
|
|
2018-12-23 12:20:19 +01:00
|
|
|
# Scripts will tell users to go there to manage their account
|
|
|
|
intranet_url: 'https://re2o.auro.re/'
|
|
|
|
|
|
|
|
# Users in that group will be able to `sudo`
|
|
|
|
sudo_group: 'sudoldap'
|
|
|
|
|
|
|
|
# SSH keys for root account to use when LDAP is broken
|
|
|
|
ssh_pub_keys: "{{ vault_ssh_pub_keys }}"
|
|
|
|
|
2019-01-02 18:23:11 +01:00
|
|
|
# Monitoring
|
2019-01-02 18:35:36 +01:00
|
|
|
monitoring_mail: 'monitoring.aurore@lists.crans.org'
|
2019-03-12 17:56:12 +01:00
|
|
|
|
|
|
|
# Matrix
|
|
|
|
matrix_webhooks_secret: "{{ vault_matrix_webhooks_secret }}"
|
2019-03-24 12:10:35 +01:00
|
|
|
matrix_discord_client_id: "559305991494303747"
|
|
|
|
matrix_discord_bot_token: "{{ vault_matrix_discord_bot_token }}"
|
2020-04-18 15:39:32 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
# DNS
|
|
|
|
###
|
|
|
|
|
|
|
|
# Dernier octet (en décimal) de l'addresse des serveurs DNS récursifs de chaque
|
|
|
|
# résidence.
|
2020-04-18 16:52:13 +02:00
|
|
|
dns_host_suffix_main: 253
|
|
|
|
dns_host_suffix_backup: 153
|
2020-04-18 15:39:32 +02:00
|
|
|
|
2020-04-18 17:06:38 +02:00
|
|
|
backup_dns_servers:
|
2020-11-04 20:08:51 +01:00
|
|
|
- "80.67.169.12" # French Data Network (FDN) (ns0.fdn.fr)
|
2020-04-18 15:39:32 +02:00
|
|
|
|
2020-08-01 17:48:39 +02:00
|
|
|
# Finally raised!
|
|
|
|
mtu: 1500
|
2020-05-09 16:07:04 +02:00
|
|
|
|
2020-05-21 20:06:47 +02:00
|
|
|
subnet_ids:
|
|
|
|
ap: "14{{ apartment_block_id }}"
|
|
|
|
users_wired: "{{ apartment_block_id }}0"
|
|
|
|
users_wifi: "{{ apartment_block_id }}1"
|
2020-10-17 19:48:34 +02:00
|
|
|
users_banni: "{{ apartment_block_id }}2"
|
|
|
|
users_accueil: "{{ apartment_block_id }}3"
|
2020-05-16 21:43:23 +02:00
|
|
|
|
|
|
|
# Keepalived
|
2020-05-09 16:07:04 +02:00
|
|
|
keepalived_password: "{{ vault_keepalived_password[apartment_block] }}"
|
2020-05-16 21:43:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Re2o config
|
|
|
|
re2o_secret_key: "{{ vault_re2o_secret_key }}"
|
|
|
|
re2o_db_password: "{{ vault_re2o_db_password }}"
|
|
|
|
re2o_aes_key: "{{ vault_re2o_aes_key }}"
|
|
|
|
|
|
|
|
# Radius
|
2020-05-21 14:19:28 +02:00
|
|
|
radius_secret_aurore: "{{ vault_radius_secrets.aurore }}"
|
2020-05-16 21:43:23 +02:00
|
|
|
radius_secret_wifi: "{{ vault_radius_secrets.wifi }}"
|
|
|
|
radius_secret_wired: "{{ vault_radius_secrets.wired[apartment_block] }}"
|
2020-09-09 23:17:15 +02:00
|
|
|
radius_secret_federez: "{{ vault_radius_secrets.federez }}"
|
2020-05-21 18:06:37 +02:00
|
|
|
|
|
|
|
radius_pg_replication_password: "{{ vault_re2o_db_user_passwords.replication }}"
|
|
|
|
radius_pg_re2o_ro_password: "{{ vault_re2o_db_user_passwords.re2o_ro }}"
|
2020-05-21 20:06:47 +02:00
|
|
|
|
|
|
|
|
2020-09-11 15:05:57 +02:00
|
|
|
# DHCP
|
|
|
|
dhcp_failover_enabled: true
|
2020-07-06 18:40:54 +02:00
|
|
|
apartment_block_dhcp: "{{ apartment_block }}"
|
2020-08-01 14:31:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Careful, this is not byte-aligned, just nibble-aligned (RIPE gave us a /28).
|
|
|
|
# However, we ALWAYS keep the trailing 0 to have byte alignment.
|
|
|
|
ipv6_base_prefix: "2a09:6840"
|
2020-09-11 15:05:57 +02:00
|
|
|
|
|
|
|
is_aurore_host: "{{ 'aurore_vm' in group_names }}"
|
2021-03-10 08:28:16 +01:00
|
|
|
|
|
|
|
nftables_interco_v4:
|
|
|
|
- 10.129.0.0/16
|
|
|
|
- 192.168.0.0/31
|
|
|
|
- 192.168.0.2/31
|
|
|
|
|
|
|
|
nftables_interco_v6:
|
|
|
|
- 2a09:6840:129::0/48
|
|
|
|
|
|
|
|
nftables_adm_v4:
|
|
|
|
- 10.133.0.0/16
|
|
|
|
|
|
|
|
nftables_adm_v6:
|
|
|
|
- 2a09:6840:133::0/48
|
|
|
|
|
|
|
|
nftables_bastions_v4:
|
|
|
|
- 10.133.0.250
|
|
|
|
|
|
|
|
nftables_bastions_v6:
|
|
|
|
- 2a09:6840:133::250
|
|
|
|
|
|
|
|
nftables_svc_v4:
|
|
|
|
- 10.128.0.0/16
|
|
|
|
- 10.132.0.0/16
|
|
|
|
|
|
|
|
nftables_svc_v6:
|
|
|
|
- 2a09:6840:128::0/48
|
|
|
|
- 2a09:6840:132::0/48
|
|
|
|
|
|
|
|
nftables_members_v4:
|
|
|
|
- 10.10.0.0/16
|
|
|
|
- 10.11.0.0/16
|
|
|
|
- 10.20.0.0/16
|
|
|
|
- 10.21.0.0/16
|
|
|
|
- 10.30.0.0/16
|
|
|
|
- 10.31.0.0/16
|
|
|
|
- 10.40.0.0/16
|
|
|
|
- 10.41.0.0/16
|
|
|
|
- 10.50.0.0/16
|
|
|
|
- 10.51.0.0/16
|
|
|
|
|
|
|
|
nftables_members_v6:
|
|
|
|
- 2a09:6840:10::0/48
|
|
|
|
- 2a09:6840:11::0/48
|
|
|
|
- 2a09:6840:12::0/48
|
|
|
|
- 2a09:6840:20::0/48
|
|
|
|
- 2a09:6840:21::0/48
|
|
|
|
- 2a09:6840:22::0/48
|
|
|
|
- 2a09:6840:30::0/48
|
|
|
|
- 2a09:6840:31::0/48
|
|
|
|
- 2a09:6840:32::0/48
|
|
|
|
- 2a09:6840:40::0/48
|
|
|
|
- 2a09:6840:41::0/48
|
|
|
|
- 2a09:6840:42::0/48
|
|
|
|
- 2a09:6840:50::0/48
|
|
|
|
- 2a09:6840:51::0/48
|
|
|
|
- 2a09:6840:52::0/48
|
|
|
|
|
|
|
|
nftables_signup_v4:
|
|
|
|
- 10.13.0.0/16
|
|
|
|
- 10.23.0.0/16
|
|
|
|
- 10.33.0.0/16
|
|
|
|
- 10.43.0.0/16
|
|
|
|
- 10.53.0.0/16
|
|
|
|
|
|
|
|
nftables_signup_v6:
|
|
|
|
- 2a09:6840:13::0/48
|
|
|
|
- 2a09:6840:23::0/48
|
|
|
|
- 2a09:6840:33::0/48
|
|
|
|
- 2a09:6840:43::0/48
|
|
|
|
- 2a09:6840:53::0/48
|
|
|
|
|
2021-03-10 09:46:41 +01:00
|
|
|
# Afone network
|
2021-03-10 08:28:16 +01:00
|
|
|
nftables_signup_triggers_v4:
|
2021-03-10 09:46:41 +01:00
|
|
|
- 217.112.64.0/20
|
|
|
|
- 46.255.48.0/21
|
|
|
|
- 77.74.240.0/21
|
|
|
|
- 93.191.184.0/21
|
2021-03-10 08:28:16 +01:00
|
|
|
|
2021-03-10 09:46:41 +01:00
|
|
|
# Afone network
|
2021-03-10 08:28:16 +01:00
|
|
|
nftables_signup_triggers_v6:
|
2021-03-10 09:46:41 +01:00
|
|
|
- 2a02:20f8::/32
|
2021-03-10 08:28:16 +01:00
|
|
|
...
|