---
# Network
hotspot_ip: 192.168.2.1
hotspot_interface: wlan0
lan_interface: eth0
lan_interface2: eth1
client_interface: wlan1
max_wifi_client: 15
hostname: kiwix
tld: "hotspot"
fqdn: "{{ hostname }}.{{ tld }}"
welcome_fqdn: "goto.kiwix.{{ tld }}"
version_fqdn: "version.{{ fqdn }}"
hotspot_name: kiwix
project_name: kiwix

# System
installer_version: unknown
disk: /dev/mmcblk0
root_partition: "{{ disk }}p2"
data_partition: "{{ disk }}p3"
data_path: /data
disk_size: 7760000000
root_partition_size: 7000000000
username: user
group: user
password: $6$YcJS1HjRAv/$1bUosoPalzHEvfpx71UhnG6vCeckTGbA5U1i6UpA8X21Jrv7fYRPyNrq/YWuiBp3xQWd5kRRhrKKPHcbTkkfQ/
timezone: "Europe/Paris"
language: "en"
language_name: "English"

# versions
qemu_kernel_version: "4.10.0"
kernel_version: "4.14.34"
kiwix_version: "3.2.0-1"
kalite_version: "0.17.4"
edupi_version: "1.4.10"
python3_version: "3.5"
php_version: "7.3"
nomad_version: "2.7.0"
mathews_version: "1.6"
africatik: "202202"

# Apps path
venvs_root: /home/{{ username }}/venvs
captive_root: /var/www/captiveportal
captive_env: "{{ venvs_root }}/captive"
aflatoun_root: "{{ data_path }}/aflatoun"
aflatoun_env: "{{ venvs_root }}/aflatoun"
edupi_root: "/home/{{ username }}/edupi"
edupi_data_root: "{{ data_path }}/edupi"
edupi_env: "{{ venvs_root }}/edupi"
kalite_root: "{{ data_path }}/kalite"
kalite_env: "{{ venvs_root }}/kalite"
wikifundi_data_root: "{{ data_path }}/wikifundi"
wikifundi_root: "/var/www/wikifundi"
mediawiki_root: "{{ wikifundi_root }}/w"
common_static_path: "/var/www/static"
nomad_root: "/var/www/nomad"
mathews_root: "/var/www/mathews"
africatik_root: "/var/www/africatik"

# Domain names
kiwix_server_name: kiwix.{{ hostname }}
kalite_server_name: khanacademy.{{ hostname }}
aflatoun_server_name: aflatoun.{{ hostname }}
edupi_server_name: edupi.{{ hostname }}
wikifundi_server_name: wikifundi.{{ hostname }}
nomad_server_name: nomad.{{ hostname }}
mathews_server_name: mathews.{{ hostname }}
africatik_server_name: africatik.{{ hostname }}
time_server_name: time.{{ hostname }}

kiwix_fqdn: kiwix.{{ fqdn }}
kalite_fqdn: khanacademy.{{ fqdn }}
aflatoun_fqdn: aflatoun.{{ fqdn }}
edupi_fqdn: edupi.{{ fqdn }}
wikifundi_fqdn: wikifundi.{{ fqdn }}
nomad_fqdn: nomad.{{ fqdn }}
mathews_fqdn: mathews.{{ fqdn }}
africatik_fqdn: africatik.{{ fqdn }}
time_fqdn: time.{{ fqdn }}

# content & features
has_custom_branding: false
custom_branding_path: /tmp
kalite_languages: []
wikifundi_languages: []
aflatoun_languages: []
packages: []
edupi: false
catalogs: []

# temporary path for contents in data partition
aflatoun_content_path: "{{ data_path }}/aflatoun_content"
aflatoun_langpack_prefix: "{{ data_path }}/aflatoun_pack_"
kalite_langpack_prefix: "{{ data_path }}/kalite_pack_"
kalite_videos_prefix: "{{ data_path }}/kalite_videos_"
zim_path: "{{ data_path }}/packages"
wikifundi_langpack_prefix: "{{ data_path }}/wikifundi_langpack_"
edupi_resources_path: "{{ data_path }}/edupi_resources"
nomad_content_path: "{{ data_path }}/nomad"
mathews_content_path: "{{ data_path }}/mathews"
africatik_content_path: "{{ data_path }}/africatik"
