all 2.59 KB
Newer Older
1
2
3
4
5
6
7
8
9
---
# Network
hotspot_ip: 192.168.2.1
hotspot_interface: wlan0
lan_interface: eth0
lan_interface2: eth1
client_interface: wlan1
max_wifi_client: 15
hostname: ideasbox
10
tld: "hotspot"
11
fqdn: "{{ hostname }}.{{ tld }}"
12
cert_domain: ideascube.{{ tld }}
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
hotspot_name: ideasbox
project_name: ideasbox
ideascube_id: pibox

# System
disk: /dev/mmcblk0
root_partition: "{{ disk }}p2"
data_partition: "{{ disk }}p3"
data_path: /data
disk_size: 4
root_partition_size: 3
username: ideascube
password: $6$YcJS1HjRAv/$1bUosoPalzHEvfpx71UhnG6vCeckTGbA5U1i6UpA8X21Jrv7fYRPyNrq/YWuiBp3xQWd5kRRhrKKPHcbTkkfQ/
mirror: https://download.kiwix.org
timezone: "Europe/Paris"
language: "en"
language_name: "English"

# versions
qemu_kernel_version: "4.10.0"
kernel_version: "4.14.34"
kiwix_version: "0.6.0"
kalite_version: "0.17.4"
ideascube_version: "0.37.2"
37
edupi_version: "1.4.10"
38
39
40
41
42
43
44
45
46
47
48
49
50
python3_version: "3.5"

# Apps path
zim_path: /var/ideascube/kiwix
venvs_root: /home/{{ username }}/venvs
ideascube_handlers: ['kiwix', 'nginx', 'mediacenter']
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"
rgaudin's avatar
rgaudin committed
51
52
53
54
wikifundi_data_root: "{{ data_path }}/wikifundi"
wikifundi_root: "/var/www/wikifundi"
mediawiki_root: "{{ wikifundi_root }}/w"
parsoid_root: "{{ mediawiki_root }}/parsoid"
55
56
57
58
59
60
61
62

# 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 }}
sites_server_name: sites.{{ hostname }}
63
time_server_name: time.{{ hostname }}
64
65
66
67
68
69
70

kiwix_fqdn: kiwix.{{ fqdn }}
kalite_fqdn: khanacademy.{{ fqdn }}
aflatoun_fqdn: aflatoun.{{ fqdn }}
edupi_fqdn: edupi.{{ fqdn }}
wikifundi_fqdn: wikifundi.{{ fqdn }}
sites_fqdn: sites.{{ fqdn }}
71
time_fqdn: time.{{ fqdn }}
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

# content & features
captive_portal: true
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_"
packages_cache: "{{ data_path }}/packages_cache"
wikifundi_langpack_prefix: "{{ data_path }}/wikifundi_langpack_"
rgaudin's avatar
rgaudin committed
91
edupi_resources_path: "{{ data_path }}/edupi_resources"