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

8094 commits

Author SHA1 Message Date
George Hunt
3e407f7cc0 set up proxy for kalite 2017-07-10 21:45:43 -07:00
Tim Moody
5fa6a42af9 Merge branch 'master' of github.com:iiab/iiab into poweroff 2017-07-06 13:10:33 -04:00
Tim Moody
a8e15b8731 create directory in 2-common 2017-07-06 13:08:44 -04:00
Tim Moody
2e343f9330 Merge branch 'master' into poweroff 2017-07-06 13:02:59 -04:00
Tim Moody
cfbb7829f9 make home for service and copy 2017-07-06 12:56:43 -04:00
Tim Moody
396c4cad72 apache poweroff service 2017-07-06 12:21:37 -04:00
Tim Moody
ddcba12b1f wrong line endings 2017-07-05 22:13:29 -04:00
georgejhunt
768ea36199 sudoers syntax (#103) 2017-07-05 17:40:56 -07:00
Tim Moody
957b3cffde give apache_user poweroff permission (#95) 2017-07-05 09:40:39 -07:00
georgejhunt
cbb090fe71 missing quote in localfacts (#97) 2017-07-04 15:39:45 -07:00
Tim Moody
6ea444e5de give apache_user poweroff permission 2017-07-04 17:46:11 -04:00
georgejhunt
7f80ed0345 failed_when (#94) 2017-07-04 13:45:26 -07:00
georgejhunt
29b0b50885 Debian9 (#91)
* do a special download and install of usbmount

* misspelled iiab_download_url

* misspell downloads_dir

* diable php-sqlite

* php version issues

* fixes transferred from recognize branch

* local_fact moved

* remove preload

* remove preload

* spell ansible

* debian9 sqlite3

* package needs name

* remove prepped

* use apt ratheer than ansible package for npm

* monit disable chkconfig

* moodle needs php-zip and php-mbstring

* debian9 -> debian-9

* returen to os_ver nomenclature for OS.yml
2017-07-04 13:27:44 -07:00
georgejhunt
842e617e42 passwd check needs old salt (#90) 2017-07-04 13:09:12 -07:00
georgejhunt
dfe68e63fa Startup (#85)
* move local_facts, test for it, cp if necess

* got os wrong -- not OS

* change /etc/*release, vars/filenames

* add os_ver

* add os_ver to iiab.env

* remove uuid generation for local_facts

* next

* delete debugging lines

* fetch the uuid, and put it in ini file

* be more specific about uuid

* need braces in set_fact

* hyphen in OS-version

* go back to OS.yml based upon os_ver

* remove debug

* oops VERSION_ID->OS_VER

* issure error message when OS not in case statement
2017-07-04 13:07:47 -07:00
Jerry Vonau
0f9d25ab7c softcode apache_config_dir in iiab-make-apache-config.py (#81)
* softcode apache_config_dir in iiab-make-apache-config.py

* softcode iiab_zim_path in iiab-make-apache-config.py

* softcode iiab-make-kiwix-lib.py
2017-07-04 13:05:10 -07:00
Jerry Vonau
e4226e8515 suppress doc generation when requested (#77)
* add default nodocs

* exclude iiab-refresh-wiki-docs when nodocs is True

add nodocs: True to vars/local_vars.yml to skip doc generation.
2017-07-04 13:04:16 -07:00
Jerry Vonau
e5543b3f99 Timezone handling (#70)
* supply TZ info in php template

* should be already set in default_vars

* elgg - softcode timezone

* use supplied variable in php template

* guard against TZ not being present in env
2017-07-04 13:00:50 -07:00
Jerry Vonau
97f6c4c654 OSM - CentOS (#60)
- untested - these look to be needed for CentOS
2017-07-04 12:57:52 -07:00
Jerry Vonau
f461e745d2 fix for centos (#58)
* Update main.yml

* provide common working default rtc_id for rpi
2017-07-04 12:54:06 -07:00
georgejhunt
d5397fd2b5 use gawk to fetch installed state (#52)
* use gawk to fetch installed state

* mysql_user priv was keeping user from begin created

* backout the change (a debug test) which ignored proper function on other distors

* backout the change -- GRANT is an additional capability
2017-07-04 12:51:01 -07:00
georgejhunt
30f4dfc1af Notags (#73)
* bulk change use_cache/no_network->internet_available

* bulk change use_cache/no_network->internet_available

* remove unuseful debug statements

* remove download tags

* appendix has_internet_connection

* ubuntu dhcpd needs to connect to br0
2017-06-29 10:48:41 -07:00
georgejhunt
4462652deb Iiab (#68)
* xs- goes to iiab-

* more xs->iiab

* sysconfig was forgotten

* hyphen vs underscore i roles network templates

* bulk sed on pgsql-xs

* create links for old script names

* missed named-xs -> named-iiab

* squid-xs ->squid-iiab

* misspelled squid-iiab.conf.j2
2017-06-27 19:53:13 -07:00
George Hunt
909439f40b disable, and turn off apparmor 2017-06-27 19:50:36 -07:00
George Hunt
98b0a38f05 add two sed statements 2017-06-27 19:50:15 -07:00
Tim Moody
5f663a4b93 change default admin user/pw
allow access from all ips and domains
2017-06-27 19:49:57 -07:00
George Hunt
144bb15603 nextcloud installed detection 2017-06-20 15:29:14 -07:00
George Hunt
e3abe6cce0 nextcloud init failed after these lines were removed 2017-06-20 15:29:14 -07:00
George Hunt
1dedccf626 nextcloud repo errors ubuntu<->debian, dokuwiki changes 2017-06-19 22:17:22 -07:00
George Hunt
646dae0f9e lynx is required for offline docs 2017-06-19 18:15:50 -07:00
George Hunt
3f862da6a2 PR16 and PR17 -- moodle/templates/install -- /etc/hosts 2017-06-19 17:20:01 -07:00
George Hunt
68243f1a74 create a non prifileged user 2017-06-19 16:30:54 -07:00
George Hunt
dfe245d280 test for nextcloud installed. it fails on second call 2017-06-19 16:30:54 -07:00
George Hunt
6c48586a41 spell maintenance 2017-06-19 16:30:54 -07:00
George Hunt
cf0a649085 closer to nextcloud install 2017-06-19 16:30:54 -07:00
George Hunt
e4c5056cea use rewrite rather than proxypass to redirect internal kiwix links 2017-06-19 16:29:42 -07:00
Jerry Vonau
5b72b5b84c Create install.yml
correct archive filename
2017-06-19 16:28:31 -07:00
Jerry Vonau
0bbaa5f156 Create install.yml 2017-06-19 16:28:31 -07:00
Jerry Vonau
b4ac79f445 Update computed_vars.yml
kiwix - remove duplicate code
2017-06-19 16:26:02 -07:00
George Hunt
b490606a44 change script name, I need to change invokation also 2017-06-19 16:25:34 -07:00
George Hunt
93335f08f9 change script target name to iiab-refresh-wiki-docs 2017-06-19 16:25:34 -07:00
George Hunt
4cb23682f4 seems to work. Missing the console help system. Is it necessary since the console provides it client-server already? 2017-06-19 16:25:34 -07:00
George Hunt
3e0b2849a6 not there on release notes 2017-06-19 16:25:34 -07:00
George Hunt
5f46cdac03 release notes still not working 2017-06-19 16:25:34 -07:00
Tim Moody
86ff53e1b6 handle non-standard file names for gutenberg zims 2017-06-17 09:11:55 -04:00
George Hunt
8db88bc1b1 keep the map tree grounded where it was in defaults.ini 2017-06-14 12:43:12 -07:00
George Hunt
483a0c0758 do not shadow wsgiscriptalias 2017-06-14 12:43:12 -07:00
Tim Moody
e75cd49dd9 Merge pull request #34 from tim-moody/wip-6-11
use 6/13 nightly and add --nolibrarybutton option
2017-06-13 23:38:39 -04:00
Tim Moody
ef73030990 use 6/13 nightly and add --nolibrarybutton option 2017-06-13 22:50:46 -04:00
A Holt
50b565afda Merge pull request #29 from georgejhunt/menu
"remove menu from iiab"

Am testing on Raspbian Lite right now and will revert if issues arise!
2017-06-13 02:26:14 -04:00
A Holt
e8b250d77f Merge pull request #27 from iiab/holta-wordpress-4.8
WordPress 4.8 instead of 4.7.3
2017-06-13 02:23:04 -04:00
George Hunt
fd20b35b75 remove menu from iiab 2017-06-12 17:16:04 -07:00
georgejhunt
0d95567234 on/off vpn (#28) 2017-06-12 15:42:32 -07:00
georgejhunt
617dbde56f Osm (#26)
* fixes to change iiab->osm

* change the name in meta too

* create osm_install/enabled default flags

* add maps alias,copy map.html to index.html

* source file names do not change

* incorporate osm-fixes in playbook

* template rather than copy

* add iiab back in for menu system
2017-06-12 12:23:45 -07:00
georgejhunt
a4fb89ba35 Vpn (#25)
* keep the xscenet url

* leave the amazon vpn called xscenet, and the service that connectes to it

* extra tab character

* the vars/default_vars.yml takes precedence over roles/openvpn/defaults/main.yml
2017-06-12 11:05:39 -07:00
A Holt
a0571ae593 WordPress 4.8 instead of 4.7.3
WordPress 4.8 was released 4 days ago and I tested this on Raspbian, based on:

   http://download.iiab.io/packages/wordpress-4.8.tar.gz

If folks care about testing this on Debian, CentOS, Ubuntu, etc please do that promptly in coming days so this can be pushed/merged into master, Thanks!
2017-06-12 08:05:37 -04:00
Tim Moody
8f860c8388 changes for iiab usage tracking 2017-06-11 16:50:38 -04:00
georgejhunt
f319afa432 Test (#20)
* change apache_data to apache_user in all

* no libapach2 in centos. just php. no php-magick in centos

* remove redundant vars entries

* do not create apache user

* missed one pound sign

* soft code all references to apache_user

* centos requires older setuptools

* revert ansible_lsb.id in xsce.yml

* try getting recent pip

* move pip download to 2prep so that kalite success is not dependent on iiab coming first

* still need to replace setuptools in kalite

* add curl -- needed in debian

* massivly substitue iiab for xsce, and rename files

* completed runansible

* centos fixes,install  pip

* appliance means no iptables rules

* change to earlier version of setuptools for centos

* delete file duplicate, hopefully unnecessary. generate the offline docs

* wiki docs errors

* create the admin group -- deleted earlier

* use the --yes option with pip uninstall

* base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io

* network detection broken due to tupo
2017-06-09 16:25:56 -07:00
George Hunt
580dcdafa7 no libapach2 in centos. just php. no php-magick in centos 2017-06-05 21:15:08 -07:00
George Hunt
76d088e130 nextcloud enabled failed due to lack of curl -- load it during regular package installation 2017-06-05 12:39:03 -07:00
George Hunt
86e40bbda4 somehow we lost some definitions in Debian.yml, called in dhcpcd-dbus rather than dhcpcd5, which works 2017-06-05 12:23:08 -07:00
George Hunt
d6f82697dd can not initialize nextcloud when it is not enabled 2017-06-05 11:01:24 -07:00
georgejhunt
39764e3c19 Merge pull request #14 from georgejhunt/kiwix
Kiwix
2017-06-05 10:02:52 -07:00
georgejhunt
f194006ab7 Merge pull request #7 from georgejhunt/resolv
remove anything that breaks if resolvconf service is referenced
2017-06-05 10:01:52 -07:00
georgejhunt
12f613c868 Merge pull request #4 from georgejhunt/nextcloud
Nextcloud
2017-06-05 10:01:35 -07:00
Tim Moody
545b048294 Merge pull request #1 from tim-moody/tim-changes
changes to move admin console to its own repo
2017-06-05 12:06:51 -04:00
George Hunt
c645cc5b16 fix arm kiwix download name 2017-06-04 18:54:15 +00:00
George Hunt
9560953531 point to the newer kiwix-serve releasees 2017-06-04 09:41:04 -07:00
Tim Moody
1a627bddd2 change rpi detection to use Raspbian id 2017-06-04 10:19:34 -04:00
George Hunt
a5128f839b remove anything that breaks if resolvconf service is referenced 2017-06-02 23:50:24 +00:00
Tim Moody
47053a0e50 fix path of moved file 2017-06-02 14:52:32 -04:00
Tim Moody
62b69149b9 move creation of home page to http 2017-06-02 13:55:02 -04:00
Tim Moody
3e6108ff2f remove duplicate item 2017-06-02 13:45:15 -04:00
Tim Moody
9c4643d4fd wrong file name 2017-06-02 13:40:16 -04:00
Tim Moody
1b476f9a0a move xsce_env.py.j2 to prep.yml 2017-06-01 16:55:49 -04:00
georgejhunt
0331f08495 Merge pull request #5 from georgejhunt/wordpress
apache needs to add files to config dir
2017-05-31 19:08:39 -07:00
George Hunt
269549e106 apache needs to add files to config dir 2017-05-31 19:07:25 -07:00
georgejhunt
2dafc67034 Merge pull request #2 from georgejhunt/xscenet
centos reporting handle required fixes to quotes
2017-05-31 12:11:02 -07:00
Tim Moody
4ee5246cac remove cmdsrv 2017-05-31 12:38:14 -04:00
Tim Moody
2a137e83d1 remove iiab-admin from iiab 2017-05-31 12:08:09 -04:00
George Hunt
a7a8d8dbce permissions as per Adam 2017-05-30 18:48:48 -07:00
George Hunt
4081978e8e change group permissions on wordpress to enable write, add line to wp-config.php 2017-05-30 17:00:03 -07:00
George Hunt
61c8fbc612 centos reporting handle required fixes to quotes 2017-05-30 15:46:45 -07:00
Tim Moody
39632ce8ab handle multiple versions of a zim 2017-05-30 13:23:47 -04:00
George Hunt
d4fab95868 fixes to enable in debian 2017-05-29 20:04:04 -07:00
George Hunt
70c9f95383 conventions accross platforms 2017-05-29 19:37:12 -07:00
George Hunt
9376910f7f add in the nextcloud from old iiab/pr3 2017-05-29 15:02:55 -07:00
George Hunt
c783173031 fix centos profile ssh error message 2017-05-29 12:06:09 -04:00
George Hunt
3da96de4e9 correct for ubuntu 2017-05-28 06:47:49 -07:00
George Hunt
810950ceaa new files 2017-05-27 16:46:02 -07:00
George Hunt
6a1cd439cd rest of patches 2017-05-27 16:40:12 -07:00
George Hunt
cb344d7d47 patch 0002 2017-05-27 16:10:45 -07:00
George Hunt
3a1d427ea0 patch 0010 2017-05-27 11:53:01 -07:00
George Hunt
845632d0ac initial checkin -- May 27, 2017 2017-05-27 11:09:50 -07:00