georgejhunt
17ae885dea
remove workarounds for august stretch bugs ( #233 )
2017-09-11 09:18:12 -07:00
georgejhunt
58f078da43
xs_wan_device -> iiab_wan_device -- oops ( #235 )
2017-09-11 09:17:45 -07:00
georgejhunt
2f528a13de
let dhcpcd do wan, make wan manual in interfaces for networking service ( #238 )
2017-09-11 09:17:16 -07:00
georgejhunt
41dbbf167f
raspbian lite images has awk but not gawk ( #189 )
2017-09-11 09:14:13 -07:00
A Holt
f8c8c61bd5
Merge pull request #216 from georgejhunt/npmreinstall
...
Npmreinstall, with @jvonau fixed added; smoke-tested twice by @holta
2017-09-07 23:15:16 -04:00
A Holt
4c3f520fbf
sugarizer/tasks/main.yml fix, when -> when:
...
@jvonau caught this; I smoke-tested it.
2017-09-07 23:07:36 -04:00
georgejhunt
363a85e12f
thought elgg state=directory was in ( #218 )
2017-09-04 12:50:42 -07:00
George Hunt
633be1964c
apt->apt-get
2017-09-04 11:50:30 -07:00
George Hunt
1f3dfd19d4
stat the npm files
2017-09-04 11:43:00 -07:00
georgejhunt
ed2b82a54c
ini file is for programmer -- do not mangle variable name ( #187 )
2017-09-04 09:25:27 -07:00
georgejhunt
7d576bbe0c
Elgg upgrade 1.12.16 LTS to 2.3.3; Nextcloud - add php's zip mbstring ( #202 )
...
* add mbstring for debian
* add php7.0-zip
* capture a few fixes
* put in new sqldump
2017-09-04 09:23:54 -07:00
A Holt
a52d1c90f0
Upgrade KA Lite from 0.17.2 to 0.17.3 ( #212 )
...
Smoke tested.
2017-09-04 09:22:26 -07:00
georgejhunt
ae2ae73911
get name correct ( #184 )
2017-08-31 14:07:42 -07:00
georgejhunt
99780ed8e1
deprecate old/unused services ( #183 )
2017-08-31 13:20:02 -07:00
George Hunt
ea950209e2
Revert "drop download of usbmount for debian-9 ( #180 )"
...
This reverts commit 595d884bf4
.
usbmount is not actually in debian 9
2017-08-31 12:11:10 -07:00
Jerry Vonau
56a2f5c003
teamviewer is non-arm and CentOS only ( #173 )
2017-08-31 10:29:25 -07:00
georgejhunt
595d884bf4
drop download of usbmount for debian-9 ( #180 )
2017-08-31 10:16:50 -07:00
georgejhunt
4260cd4b6f
upgrade elgg from 1.12.12 to 1.12.16 ( #179 )
2017-08-31 10:16:31 -07:00
georgejhunt
54bd3f7414
pi zero is different ansible_machine ( #144 )
...
* pi zero is different ansible_machine
* trying to create link fails, if same nams as file exists. This was too much backward compatability
2017-08-31 10:09:03 -07:00
georgejhunt
ee4df858b3
Ifnames ( #160 )
...
* move reboot early in install process for rpi9 only
* sed regular expression, add space above message
* has awk but not gawk
* add in download of wifi driver - raspbian-9
2017-08-31 10:08:04 -07:00
georgejhunt
cac882a7ef
escape the dollar sign in password hash ( #159 )
...
* escape the dollar sign in password hash
* all that is needed is single rather than double quote
2017-08-31 10:07:05 -07:00
georgejhunt
cc7d884cde
bump to current stable version ( #136 )
2017-08-31 10:05:49 -07:00
A Holt
eb22d74c36
Elgg README.rst referenced broken link
...
Not sure why http://schoolserver.lan/elgg did not also work, but:
http://box.lan/elgg (similar to http://box/elgg ) is correct going forward.
2017-08-30 11:26:18 -04:00
Tim Moody
673c7916ce
change kiwix version to 2017-08-28
2017-08-29 22:21:51 -04:00
A Holt
16ec7bc6a2
KA Lite upgraded from 0.17.0 to 0.17.2
...
Smoke tested lived during today's call @ http://minutes.iiab.io
(KA Lite 0.17.2 promises many improvements over 0.17.0 as listed in the link above)
2017-08-28 19:16:28 -04:00
Jerry Vonau
e0c6a84bff
don't fail if apparmor is not installed ( #161 )
2017-08-24 10:02:17 -07:00
georgejhunt
5fdbe61aab
defeat the iface renaming in debian 9 ( #156 )
2017-08-21 18:50:59 -07:00
georgejhunt
5037c497b1
needed apache module ( #154 )
2017-08-21 17:49:56 -07:00
tim-moody
44f96c3539
check for existence of index dir when creating library.xml
2017-08-12 16:16:00 -04:00
Jerry Vonau
939688d7de
add disable for redhat, add osm_enabled
2017-07-21 17:22:08 -05:00
Jerry Vonau
0710ed2958
osm - set_fact only when enabled
2017-07-21 17:22:08 -05:00
Jerry Vonau
0af81c7d33
supply default value for osm_path
2017-07-21 17:22:08 -05:00
georgejhunt
4da87a96b6
runansible straight through ( #148 )
2017-07-21 09:40:01 -07:00
georgejhunt
15b0afc03b
Phpmoodle ( #141 )
...
* treat debian 8-9 differently
* yaml syntax
* tired error
* mbstring moved to php5-cli
2017-07-17 19:48:54 -07:00
georgejhunt
06440aea60
Mysql89 ( #140 )
...
* mysql debian 8vs9
* php7.0-xml is the requirement
2017-07-17 19:46:30 -07:00
georgejhunt
cbdb5b307a
space in </virtualhost may be error ( #135 )
2017-07-17 15:38:25 -07:00
georgejhunt
b18178ea3c
hyphen cannot be used in a variable name ( #134 )
2017-07-17 14:53:32 -07:00
Jerry Vonau
e426b10ec3
set facts style ( #133 )
...
rename python_path to osm_path
use osm_path in place of {% if is_debuntu %}
remove whitespace
make python_path available for all playbooks
2017-07-17 12:21:08 -07:00
Jerry Vonau
3358b727d9
is_debian-8 & is_debian-9 ( #129 )
2017-07-17 12:20:46 -07:00
Jerry Vonau
fb858ac56e
Keep old ejabberd ( #125 )
...
* preserve old ejabberd as ejabberd-xs
* have 5-xo-services use ejabberd-xs
* install latest ejabberd on is_redhat
* move ejabberd to 6-generic-apps
* move the repo exclude
* rename directory from - to _
* make disabled work
2017-07-17 12:20:08 -07:00
Jerry Vonau
e7a9fab5db
Nobody has pulled the plug to test offline ansible succuss. ( #131 )
2017-07-17 12:19:42 -07:00
Jerry Vonau
7abc3e2d68
Don't supply default gateway while in LanController mode ( #130 )
2017-07-17 12:19:01 -07:00
Jerry Vonau
e415f3956c
replacement for no_network ( #127 )
2017-07-17 12:18:35 -07:00
georgejhunt
3734984d3b
F18 ( #124 )
...
* get f18 fixed
* missing F in False
* an -> and
2017-07-17 12:17:45 -07:00
Jerry Vonau
22f3b7bd5d
master <-> 6.3 differences and upgrade path to 6.4 ( #128 )
...
* treat ubuntu dhcpd similarly to debian (#84 )
* 6.3 pwroff (#107 )
* poweroff
* poweroff
* poweroff
* some master sneaked into poweroff
* more master slipped in -- nodocs
2017-07-17 12:11:46 -07:00
georgejhunt
be7f05d15a
Update main.yml
2017-07-11 09:19:16 -07:00
Jerry Vonau
8dbfa4b5fe
With no DL2 tag it makes no sense to cache pip packages for later use
2017-07-11 09:19:16 -07:00
George Hunt
4baf72a07a
config->conf in kalite
2017-07-11 08:26:33 -07:00
George Hunt
8b9c7de777
softcode the admin_passw_hash
2017-07-10 21:47:33 -07:00
Jerry Vonau
ca04adfa50
disable creation of online groups
2017-07-10 21:47:16 -07:00
George Hunt
d66b56824d
remove comment also
2017-07-10 21:45:43 -07:00
George Hunt
d6f8364bee
remove var to disable kalite proxy -- shadowing not a problem with substitute/rewrite approah
2017-07-10 21:45:43 -07:00
George Hunt
4aafe49443
do everything with substitute
2017-07-10 21:45:43 -07:00
George Hunt
045d120244
add ouput substitution to prevent shadowing likely root terms
2017-07-10 21:45:43 -07:00
George Hunt
3353dd0cee
fix typo
2017-07-10 21:45:43 -07:00
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