1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
Commit graph

3924 commits

Author SHA1 Message Date
A Holt
b3d61118bc
Merge pull request #1940 from holta/dhcp-ip-or-fallback-to-static-ip
Ethernet DHCP IP (for field updates) then fallback to Static IP (for offline schools)
2019-09-03 19:57:27 -04:00
A Holt
7c4c1289b5
Eliminate old commented code 2019-09-03 18:49:23 -04:00
A Holt
ef32eb0fd9
Update main.yml 2019-09-03 18:09:23 -04:00
A Holt
768599e446
Update dhcpcd.conf.j2 2019-09-03 16:46:10 -04:00
A Holt
88bc30e8d6
Update dhcpcd.conf.j2 2019-09-03 16:42:44 -04:00
A Holt
cefa3119cf
Clarify why we AVOID "denyinterfaces eth0" on RPi 2019-09-03 16:03:52 -04:00
A Holt
64919e2439
profile eth0 -> interface eth0 when wan_try_dhcp_before_static_ip == False 2019-09-03 15:23:15 -04:00
A Holt
467308e38d
192.168.1.254 preferred over 192.168.1.1 in MX schools 2019-09-03 14:57:24 -04:00
A Holt
0b0268ea5e
New var wan_try_dhcp_before_static_ip 2019-09-03 14:51:08 -04:00
A Holt
db1fa162e1
rm arping; create var wan_try_dhcp_before_static_ip 2019-09-03 14:36:43 -04:00
A Holt
9639f36ba0
Merge pull request #1936 from jvonau/1923
Kolibri systemd unit file...solves its failure-to-start on RPi 3 B+ especially? #1932
2019-09-03 07:50:39 -04:00
A Holt
af2c3508d7
Update dhcpcd.conf.j2 2019-09-03 00:13:33 -04:00
A Holt
7b3bf8e2f2
Clarify {{ dhcp_timeout }} & denyinterfaces in /etc/dhcpcd.conf 2019-09-03 00:09:17 -04:00
A Holt
fc0ee6774a
Further clean spacing around denyinterfaces params 2019-09-02 23:57:16 -04:00
A Holt
c7b56f1192
"denyinterfaces eth0" spacing cleaned up 2019-09-02 23:52:52 -04:00
A Holt
542bda46c1
Update dhcpcd.conf.j2 2019-09-02 23:38:07 -04:00
A Holt
53bfa74856
Update dhcpcd.conf.j2 2019-09-02 23:37:04 -04:00
A Holt
fb3849e390
remove quotes from boolean logic in Ansible jinja2 template 2019-09-02 21:50:37 -04:00
A Holt
7bf10c756b
Update main.yml 2019-09-02 20:34:50 -04:00
A Holt
ab2d0d3155
Update main.yml 2019-09-02 20:29:00 -04:00
A Holt
f5935654c8
wan_try_dhcp_then_static_ip -> wan_can_use_dhcp_ip 2019-09-02 20:12:33 -04:00
A Holt
2a41699daf
wan_try_dhcp_then_static_ip -> wan_can_use_dhcp_ip 2019-09-02 20:12:00 -04:00
A Holt
c6a82dbcfe
wan_ipv4ll -> wan_link_local 2019-09-02 19:58:03 -04:00
A Holt
3fabc9d951
wan_ipv4ll -> wan_link_local 2019-09-02 19:56:04 -04:00
A Holt
41f52628f3
Update main.yml 2019-09-02 18:18:00 -04:00
A Holt
692607c91b
wan_ipV4LL -> wan_ipv4ll 2019-09-02 18:14:23 -04:00
A Holt
41e9e6b03c
wan_ipV4LL -> wan_ipv4ll 2019-09-02 18:13:26 -04:00
A Holt
763624bff1
Update main.yml 2019-09-02 17:54:54 -04:00
A Holt
649f92c2c2
New vars wan_try_dhcp_then_static_ip & dhcp_timeout 2019-09-02 17:54:24 -04:00
A Holt
9c5e4d3f40
Update main.yml 2019-09-02 16:22:52 -04:00
A Holt
8c6edc503b
Update main.yml 2019-09-02 16:15:53 -04:00
A Holt
4f7020f39f
Update main.yml 2019-09-02 16:06:07 -04:00
A Holt
33338ec7de
Update main.yml 2019-09-02 15:41:01 -04:00
A Holt
b6b96afdb3
Update dhcpcd.conf.j2 2019-09-02 15:06:35 -04:00
Jerry Vonau
94a750b031 use timeout 10 in dhcpcd.conf 2019-09-02 12:30:21 -05:00
Jerry Vonau
b28f7e1298 rename variable to wan_ignore_ipV4LL 2019-09-02 12:20:04 -05:00
Jerry Vonau
8d12314a6e use profile/arping for static in dhcpcd.conf 2019-09-02 11:50:38 -05:00
A Holt
f76a1ed1fa
kiwix-tools 2.1.0 -> 2.0.0 2019-08-25 13:51:35 -04:00
Jerry Vonau
a30796b0ec issue #1932 2019-08-25 12:49:25 -05:00
A Holt
6cd7d79182
gitea_version: 1.9.2 2019-08-22 14:45:01 -05:00
Jerry Vonau
ee4494c074 supply config file when hardware is present 2019-08-15 09:14:08 -05:00
Jerry Vonau
fdf070d181 discovered_wireless_iface is always defined via defaults 2019-08-15 08:39:54 -05:00
Jerry Vonau
7dd7f9485d supply unit file when hardware is present 2019-08-15 06:39:01 -05:00
Jerry Vonau
2c692fb07a only supply systemd unit file when enabled 2019-08-15 06:10:55 -05:00
Jerry Vonau
c0c8b4e984 rework logic to correct recording of hostapd state 2019-08-15 06:09:22 -05:00
A Holt
5e50d3ca1f
Merge pull request #1928 from holta/gitea-1.9.1
Gitea 1.9.0 -> 1.9.1
2019-08-14 12:44:58 -04:00
A Holt
d4c192ff89
gitea_version: 1.9.0 -> 1.9.1 2019-08-14 12:41:24 -04:00
A Holt
c69849b2f0
remove both 'sudo' & both 'become: yes' 2019-08-13 18:57:37 -04:00
A Holt
ca763b4aae
Yarn | Update APT cache 2019-08-13 18:55:21 -04:00
A Holt
278323eb42
Update main.yml 2019-08-13 18:06:47 -04:00
A Holt
aafde4e15c
Partial revert of PR1921: internetarchive fails to install 2019-08-13 18:01:52 -04:00
A Holt
98c60d3078
Merge pull request #1923 from holta/pi-swap-size
Introduce variable pi_swap_file_size: 1024
2019-08-13 16:26:08 -04:00
A Holt
bb40a34569
pi_swap_size -> pi_swap_file_size 2019-08-13 16:20:24 -04:00
A Holt
ea0733ea3d
redundant "when: is_debuntu" (clarify rpi_model & is_rpi issues) 2019-08-13 16:10:17 -04:00
A Holt
162f5cb66d
become: yes 2019-08-13 15:24:46 -04:00
A Holt
f9b29b17da
500 -> {{ pi_swap_size }} 2019-08-13 14:47:10 -04:00
A Holt
874521df84
Merge pull request #1921 from jvonau/IA-speed
Skip yarn add if installed, but allow yarn upgrade if set in local_vars.yml
2019-08-13 14:30:01 -04:00
Jerry Vonau
c501d5897c why are call sudo when we are sudo'd already.2 2019-08-13 13:28:29 -05:00
Jerry Vonau
8768509ff3 why are call sudo when we are sudo'd already. 2019-08-12 02:43:44 -05:00
Jerry Vonau
8402496acd use become in place of raw sudo to suppress warning 2019-08-11 03:57:34 -05:00
Jerry Vonau
b07b25789b use become 2019-08-10 17:01:38 -05:00
Jerry Vonau
001e00eb26 latest will update cache 2019-08-10 16:38:44 -05:00
Jerry Vonau
3f61470543 always stop the service before upgrading/restart 2019-08-10 16:27:45 -05:00
Jerry Vonau
787288405d passed reinstall to ansible 2019-08-10 16:27:44 -05:00
A Holt
2b69d6b9a4 IA_vars -> internetarchive_vars per pattern 2019-08-10 16:27:44 -05:00
A Holt
ded9c3a249 IA_upgrade -> internetarchive_upgrade per pattern 2019-08-10 16:27:44 -05:00
Jerry Vonau
daf2362611 cleanup 2019-08-10 16:27:44 -05:00
Jerry Vonau
1f3ff26674 move symlink creation 2019-08-10 16:27:44 -05:00
Jerry Vonau
6d75d8265b skip yarn add if installed, but allow yarn upgrade if set in local_vars 2019-08-10 16:27:44 -05:00
Jerry Vonau
2632a3eff2 don't curl to setup nodesource.list when nodesource.list is present 2019-08-09 20:14:02 -05:00
A Holt
6e33566a61
Merge pull request #1918 from jvonau/more_docker
ignore docker interfaces for LAN device count
2019-08-08 12:20:56 -04:00
Jerry Vonau
0d0775ccbf remove unneeded quotes 2019-08-08 11:12:33 -05:00
Jerry Vonau
64379d9233 ignore docker interfaces for LAN device count 2019-08-08 11:01:32 -05:00
A Holt
354041ac5d
Update README.rst 2019-08-04 07:07:29 -04:00
A Holt
51a6575d0c
Merge pull request #1917 from holta/calibre-web-0.6.4-fix
calibreweb_version: V0.6.4 -> 0.6.4 as it was re-released 5h ago
2019-08-03 19:19:27 -04:00
A Holt
5ed323daa5
calibreweb_version: V0.6.4 -> 0.6.4 2019-08-03 19:17:28 -04:00
A Holt
201681eb64
kiwix-serve systemd cleanup, for PR #1913 2019-08-01 15:32:46 -04:00
A Holt
4e69a0daef
TimeoutStartSec=180 for kiwix-server.service 2019-08-01 15:12:20 -04:00
A Holt
4ea17be009
Merge pull request #1909 from holta/kiwix-2.1.0
kiwix-tools 2.0.0 -> 2.1.0
2019-08-01 11:15:58 -04:00
A Holt
9457afeb13
kiwix-tools 1.2.1 -> 2.0.0 2019-08-01 09:46:54 -04:00
A Holt
d05d3d599b
"ARM7 support will return some day" (ARM8 for RPi 4 ??) 2019-07-31 10:33:03 -04:00
A Holt
8a9e33fdec
gitea 1.8.3 -> 1.9.0 2019-07-31 10:28:52 -04:00
A Holt
2ea3fda205
Merge pull request #1906 from jvonau/no_!=
use 'not' in place of '!='
2019-07-29 13:48:49 -04:00
Jerry Vonau
b73354a2cf use 'not' in place of '!=' 2019-07-29 12:12:09 -05:00
A Holt
0a17250a4f
Merge pull request #1903 from holta/patch_auto
Revert #1886, test for Debian 9+
2019-07-26 12:26:32 -04:00
A Holt
b17e268a19
Clarify template debian-auto.j2 for patch_auto 2019-07-26 12:24:48 -04:00
A Holt
cc445f640e
Revert #1886, test for Debian 9+ 2019-07-26 12:17:19 -04:00
A Holt
046d406156
Merge pull request #1897 from holta/elgg-2.3.14
Elgg 2.3.13 -> 2.3.14
2019-07-25 10:02:34 -04:00
A Holt
001c752428
Elgg 2.3.13 -> 2.3.14 2019-07-24 06:59:34 -04:00
A Holt
397ba70138
19 levels of zoom from 0-18 2019-07-23 16:54:27 -04:00
A Holt
a1972214fe
Merge pull request #1893 from jvonau/no_force
don't force templates, only create once in squid.yml
2019-07-21 07:33:55 -04:00
Jerry Vonau
62d35299ef open localhost acl for dansguardian 2019-07-20 23:51:48 -05:00
Jerry Vonau
a4c0b314a8 don't force templates, only create once in squid.yml 2019-07-20 23:35:42 -05:00
A Holt
347de851ab
Update refresh-wiki-docs.sh 2019-07-20 20:57:44 -04:00
A Holt
1091ab56b4
Update refresh-wiki-docs.sh 2019-07-20 14:03:14 -04:00
holta
ee01f5c05d Rename Lokole PDF, avoids many nightmares 2019-07-20 13:58:20 -04:00
A Holt
341d69962b
Update refresh-wiki-docs.sh 2019-07-20 13:40:23 -04:00
A Holt
7f037d55e9
Update refresh-wiki-docs.sh 2019-07-20 13:34:26 -04:00
A Holt
eb9fd54c0d
Update refresh-wiki-docs.sh 2019-07-20 13:09:14 -04:00
A Holt
ca8c78a4cc
Update refresh-wiki-docs.sh 2019-07-20 12:43:28 -04:00
A Holt
1c8b4ab4b9
Offline Doc (PDF) reminder into lokole/tasks/install.yml 2019-07-20 12:34:16 -04:00
A Holt
0ee22df2e1
Copy Lokole PDF for http://box/info 2019-07-20 12:26:23 -04:00
A Holt
66bbd051fc
Move Lokole PDF doc copying to roles/httpd/templates/iiab-refresh-wiki-docs.sh 2019-07-20 12:11:41 -04:00
A Holt
93a1ccef85
Nicer PDFs in /library/www/html/info/docs for http://box/info 2019-07-20 11:15:40 -04:00
A Holt
5713d93039
Copy Lokole PDF for offline reading at http://box/info 2019-07-20 10:50:29 -04:00
A Holt
f77733e447
wget -nc (no clobber) so repeat runs are very fast 2019-07-18 19:35:26 -04:00
George Hunt
e769514187 remove unwanted changes 2019-07-18 14:22:06 -07:00
A Holt
0ba7aca182
Merge pull request #1886 from jvonau/no_patch
don't supply patch_auto for debian-10
2019-07-18 11:47:57 -04:00
Jerry Vonau
9c4dc791d4 don't supply patch_auto for debian-10 2019-07-18 10:28:03 -05:00
A Holt
7172c75b9c
Merge pull request #1880 from jvonau/udev_cleanup
Udev cleanup
2019-07-18 11:21:11 -04:00
A Holt
8bff00b957
calibreweb_url -> calibreweb_url1 fix in comment, for Ansible 2019-07-16 15:27:32 -04:00
Jerry Vonau
2298ece416 add all config files before calling daemon_reload 2019-07-16 12:55:47 -05:00
Jerry Vonau
77956e3687 drop the use of shell, use ansible's systemd instead 2019-07-16 12:53:23 -05:00
A Holt
78e9a1f2c4
Merge pull request #1878 from tim-moody/zim-size-fix
lots of stuff to fix kiwix lang codes used for kiwix_versions and menu defs
2019-07-15 16:44:29 -04:00
Tim Moody
f0acae6992 lots of stuff to fix kiwix lang codes used for kiwix_versions and menu defs 2019-07-15 16:20:26 -04:00
A Holt
57e62cc75e
roles/lokole/README.rst path/filename fix + refinements 2019-07-15 14:27:20 -04:00
A Holt
c48c15c6e8
Link to Ascoderu.ca for context 2019-07-15 14:13:21 -04:00
Tim Moody
6d343394e9 str to float 2019-07-15 10:26:24 -04:00
Tim Moody
ce05888f62 kiwix reports size in K 2019-07-15 09:36:09 -04:00
A Holt
050d1c68b7
Merge pull request #1853 from aidan-fitz/aidan-local-only-flag-enable
Activate local-only mode [Lokole "offline" email]
2019-07-15 07:32:56 -04:00
A Holt
cf83b53066
Nightly Internet Email Sync (Not Easy!) 2019-07-15 07:30:07 -04:00
Aidan Fitzgerald
c9260c3d6b +"form of"
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-07-14 21:23:17 -07:00
Aidan Fitzgerald
36fab29f28 Add section on connecting Lokole to the Internet
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-07-14 21:20:01 -07:00
A Holt
17e8f6d45d
Merge pull request #1865 from holta/calibre-web-urls
3 customizable Calibre-Web URL's: http://box/books, http://box/libros, http://box/livres
2019-07-14 11:26:01 -04:00
A Holt
8f5240b3be
calibre-web/tasks/main.yml 3 Short URL's 2019-07-14 11:14:11 -04:00
A Holt
fcc45c5b41
calibre/defaults/main.yml URL warning 2019-07-14 11:08:14 -04:00
A Holt
943aed671e
"RequestHeader set X-SCRIPT-NAME /books" nec..in just 1 lang? 2019-07-14 10:52:18 -04:00
A Holt
7aeea457aa
Calibre-Web: 3 short URL's 2019-07-14 10:43:37 -04:00
A Holt
4322c39f8f
Try 3 URL's (for 3 langs) in calibre-web.conf.j2 2019-07-14 10:38:38 -04:00
A Holt
f8d6e609ff
Calibre-Web 0.6.4 -> V0.6.4 2019-07-14 08:04:18 -04:00
A Holt
115c3b888c
Calibre-Web 0.6.3 -> 0.6.4 2019-07-14 07:54:23 -04:00
A Holt
ad5ab4ef0f
Merge pull request #1859 from jvonau/lo_fix
Need to reload systemd daemon when adding apache config files
2019-07-10 21:52:29 -04:00
Jerry Vonau
aa515376c6 Need to reload systemd daemon when adding apache config files 2019-07-10 20:47:01 -05:00
A Holt
6e9e521f59
Merge pull request #1857 from holta/moodle-3.7.x
Moodle 3.5.x -> 3.7.x, for new OS's that contain PHP 7.3, for #1658
2019-07-10 17:04:41 -04:00
A Holt
4617e17134
Moodle 3.5.x -> 3.7.x 2019-07-10 16:24:29 -04:00
Aidan Fitzgerald
dc98b73c51 Add OPWEN_SIM_TYPE env variable
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-07-08 20:33:12 -07:00
A Holt
53fd36005f
Merge pull request #1852 from holta/deb10-bypass-sugarizer
Fix #1850: Fully bypass Sugarizer (AND MongoDB) on Debian 10+
2019-07-08 17:54:22 -04:00
A Holt
57e3ada836
CLARIF mongodb_install (unused) & mongodb_enabled (useless) 2019-07-08 17:50:01 -04:00
A Holt
d13d7182a8
CLARIF mongodb_install (unused) & mongodb_enabled (useless) 2019-07-08 17:42:31 -04:00
A Holt
bda8afd817
CLARIF mongodb_install (unused) & mongodb_enabled (useless) 2019-07-08 17:41:42 -04:00
A Holt
690cd640e9
Create main.yml 2019-07-08 17:23:39 -04:00
A Holt
400a81d116
Rename main.yml to install.yml 2019-07-08 17:14:35 -04:00
A Holt
700881abfd
Merge pull request #1850 from holta/deb10-bypass-sugarizer
Debian 10: bypass Sugarizer install for now, as MongoDB is unavailable
2019-07-08 16:45:03 -04:00
A Holt
0daf68b818
Install sugarizer if not Debian 10+ 2019-07-08 16:27:51 -04:00
A Holt
360e64f3d5
Rename main.yml to install.yml 2019-07-08 16:25:46 -04:00
A Holt
845f507958
Merge pull request #1847 from jvonau/hosts
Make ansible happy [so box.lan resolves on Debian 10 Buster]
2019-07-08 15:47:33 -04:00
A Holt
344a8e8a23
Clarif FQDN & hostnames added to /etc/hosts 2019-07-08 15:16:07 -04:00
A Holt
17e8c4ee6e
Clarif FQDN & hostnames added to /etc/hosts 2019-07-08 15:15:48 -04:00
A Holt
0ece6e3e72
Gitea doc: supporting materials + best CS learning for developing countries? 2019-07-08 14:30:43 -04:00
Jerry Vonau
b9b773aa00 make ansible happy 2019-07-08 12:25:56 -05:00