A Holt
55ce3d99e4
permit "git pull" on earlier IIAB's, leaving legacy subdirs like info/html untouched
2017-10-13 11:48:54 -04:00
A Holt
5f6cd46154
"rm -rf info/html" to permit "git pull" on earlier IIAB's
2017-10-13 11:33:09 -04:00
A Holt
b768adac5c
regex [-.A-Za-z0-9] needed on Ubuntu etc where A-z fails
2017-10-13 11:09:00 -04:00
Jerry Vonau
f3ff239157
always install packages - skip npm install when already run
2017-10-13 09:10:19 -05:00
Jerry Vonau
f311b4a75f
used is_debuntu for apt sources - better discriptions of actions - use package
2017-10-13 09:10:19 -05:00
Jerry Vonau
fe8785ce80
sugarizer - remove 10-second restart
2017-10-13 09:10:19 -05:00
Jerry Vonau
a95a4c5f99
Install nodejs correctly
2017-10-13 09:10:19 -05:00
A Holt
8c7ba6fd80
further basic refinements
2017-10-12 23:03:35 -04:00
A Holt
932fa4c6c9
refresh-wiki-docs.sh overhaul
2017-10-12 19:37:38 -04:00
A Holt
f4ffd87f84
Merge pull request #388 from jvonau/ansible_lock
...
don't exclude ansible from updating for is_redhat
2017-10-12 13:32:40 -04:00
Jerry Vonau
81353af9ca
remove unused role
2017-10-12 12:32:05 -05:00
Arky
0d22dcb258
Disable pip caching for osm ( Fixes #385 )
2017-10-12 23:36:45 +07:00
georgejhunt
b25b0b3e93
Merge pull request #387 from arky/master
...
IIAB Travis CI Testing Implementation (Fixes #386 )
2017-10-12 07:52:33 -07:00
A Holt
7f7436a990
lx.staat.isdir occurred twice
2017-10-12 08:38:29 -04:00
A Holt
1303f580e9
typo lx.staat.isdir prevents install on Raspbian Pixel
2017-10-12 08:36:48 -04:00
A Holt
f3681896da
update kiwix-tools 2017-09-28 to 2017-10-11
2017-10-11 20:53:52 -04:00
Jerry Vonau
6060370388
don't exclude ansible from updating for is_redhat
2017-10-10 15:11:32 -05:00
Jerry Vonau
1dc1e60079
move doc generation to 4-server-options
2017-10-10 15:09:54 -05:00
Jerry Vonau
bd1320e58b
ensure network is completed before saying first_run is complete
2017-10-10 15:09:54 -05:00
Jerry Vonau
658fd199d1
move home-page so admin-console can modify the setting
2017-10-10 15:07:45 -05:00
Jerry Vonau
c9178ee72f
add home-page as a tag
2017-10-10 15:07:45 -05:00
Jerry Vonau
9d2fb21705
permissions
2017-10-10 15:06:31 -05:00
Arky
16cf3fd136
IIAB Travis CI Testing Implementation #386
...
This pull request is complete implementation of IIAB Travis CI Testing for synatx errors, code linting and code review.
Adds: Top level .travis.yml file. Add 'tests' directory with a 'inventory' and 'tests.yml' files.
Modifies: roles/moodle/tasks/main.yml to fix ansible-lint parsing problem.
Modifies: README.md to add Build status button
This is Git squash of many commits. Please look at individual commit message for the content changes.
Creating an initial travis testing based on Jeff geerlings testing ansible methodology
https://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github
Adding Ansible-lint, Ansible-review tests to travis
Aded ansible-review for full repo and diff master
Removing ansible-lint install step, it automatically installed by ansible-review
Ansible-review only .yml files in root and roles, vars, tests folders
Updated comments
Corrected ansible-lint parameters
Removed extranous tab that breaks ansible-lint
Removed a tab character that causes problems with ansible-lint
See https://github.com/willthames/ansible-lint/issues/166
Fixing Travis Ansible Syntax tests roles path
The ansible roles path had problems due:
1. Absense of top level global role 'iiab'
2. Hardcoded paths '/etc/iiab' in ansible.cfg
Fixing them in a hacky way. :(
Adding Travis Build status to Readme file
2017-10-10 13:12:34 +07:00
A Holt
8e66dd538e
Merge pull request #373 from arky/bug-372
...
Disable pip caching for ka_lite_static
2017-10-09 11:08:46 -04:00
A Holt
a477d9bf90
Merge pull request #354 from arky/bug-348
...
Fixing broken symlink
2017-10-05 11:56:50 -04:00
Arky
40a5892507
Disable pip caching for ka_lite_static
...
Patch for downloading ka_lite_static failure. Fixes #372
2017-10-04 00:47:07 +07:00
Jerry Vonau
7fd475b0e5
use iiab.env for first_run test
2017-10-02 12:59:37 -05:00
georgejhunt
a6043a8634
Merge pull request #359 from jvonau/sugar-systemd
...
disable systemd sugarizer.service
2017-10-02 10:02:56 -07:00
George Hunt
507bfa1938
test revert
2017-10-02 09:37:58 -07:00
Jerry Vonau
c15f3caca3
disable systemd sugarizer.service2
2017-10-02 11:34:48 -05:00
Jerry Vonau
d29fa67336
disable systemd sugarizer.service
2017-10-02 10:15:09 -05:00
Arky
1bd007e02d
Fixing broken symlink
...
Perhaps xsce-admin is renamed to iiab-admin-console. Fixing bug #348 by removing symlink.
2017-10-02 11:09:15 +07:00
A Holt
cfc5573738
Merge pull request #355 from tim-moody/elgg-10-1
...
fix elgg: reorder so dbuser can be created
2017-10-01 22:39:00 -04:00
A Holt
6cf1bcd980
typo currupted -> corrupted
2017-10-01 21:43:25 -04:00
A Holt
159e3280ab
typo Provisioally -> Provisionally
2017-10-01 18:48:50 -04:00
Tim Moody
21aa6490f9
add Jerry's fix for disabling on Redhat
2017-10-01 18:32:44 -04:00
Tim Moody
80cbdbae51
fix elgg: reorder so dbuser can be created
2017-10-01 16:41:32 -04:00
Arky
2d433d2872
Using Ansible get_url module to fix warnings
...
Using Ansible 'get_url' modules instead of 'wget' to download usbmout package. Fixes warnings in bug #327
2017-10-01 17:03:24 +07:00
Arky
b6580e7f3a
Using Ansible file module to fix warnings
...
Using Ansible file modules instead of 'chmod' to recursively change iiab_base directory permissions. Fixes warning in #324
2017-10-01 16:45:11 +07:00
George Hunt
6f4bfdcf34
Revert "try to create symbolic links at boot time"
...
This reverts commit 6a4c65c7bc
.
usbmount routine needs adapter variable passed in -- this does not work
2017-09-30 12:05:23 -07:00
George Hunt
6a4c65c7bc
try to create symbolic links at boot time
2017-09-30 10:09:24 -07:00
A Holt
6ef6d28df2
describe as "reload" instead of "reboot"
...
Per discussion in http://minutes.iiab.io live chat. @georgejhunt let us know if this is OK.
2017-09-30 12:44:04 -04:00
A Holt
597ace9416
describe as "reboot" instead of "reload"
...
@georgejhunt please let us know if this renaming is ok (as discussed in http://minutes.iiab.io live chat)
I'll do the 2nd file now.
2017-09-30 12:42:01 -04:00
George Hunt
4ba8a4825c
make dest a directory for sure
2017-09-29 16:44:12 -07:00
George Hunt
ef91cda697
try restarting with unit file after network-online.target
2017-09-29 16:38:04 -07:00
A Holt
4c33c549c8
update kiwix-tools_linux64 2017-09-27 to 2017-09-28
2017-09-28 22:51:55 -04:00
A Holt
904401b190
changed /opt/schoolserver to /opt/iiab in comments
2017-09-28 13:50:52 -04:00
georgejhunt
30659d1c1e
Merge pull request #333 from georgejhunt/centos
...
centos pip does not have option disable-pip-version-check
2017-09-28 09:00:07 -07:00
georgejhunt
271d67c2c0
Merge pull request #334 from georgejhunt/redhat
...
test for existence of stat
2017-09-28 08:59:37 -07:00
georgejhunt
61367aadbc
Merge pull request #323 from georgejhunt/ansible-ver
...
ansible package regression [fix for Ubuntu 16.04 LTS]
2017-09-28 08:56:02 -07:00
A Holt
47c89ac03f
update kiwix-tools_linux64 2017-09-12 to 2017-09-27
2017-09-28 09:46:56 -04:00
A Holt
f65649df3d
Stick with 2017-09-12 kiwix-tools on linux64 for now
2017-09-28 02:56:45 -04:00
A Holt
19e87c2831
Videos & Full-Text Search fixed for RPi
2017-09-28 02:55:18 -04:00
George Hunt
0b5a0df4bc
centos pip does not have option disable-pip-version-check
2017-09-27 21:35:19 -07:00
George Hunt
2226dc4422
test for existence of stat
2017-09-27 16:10:22 -07:00
George Hunt
153f1792cb
service typo
2017-09-27 07:56:34 -07:00
George Hunt
1ead6e032e
ansible package regression
2017-09-26 21:34:49 -07:00
A Holt
c6c66858d5
upgrade kiwix-tools incl kiwix-serve 2017-09-12 to 2017-09-25
2017-09-26 14:37:56 -04:00
A Holt
91145c2f47
workaround so WordPress playbook works offline
2017-09-25 20:15:02 -04:00
A Holt
e84c6b07dc
Merge pull request #309 from jvonau/elgg
...
Elgg - Fix permissions & handle upgrades
2017-09-25 15:55:57 -04:00
Jerry Vonau
a9df337ac5
correct selinux for non-redhat installs
2017-09-25 11:34:55 -05:00
georgejhunt
965b134e88
Merge pull request #280 from jvonau/shhh2
...
First run logic
2017-09-25 08:39:53 -07:00
georgejhunt
623fba9282
Merge pull request #275 from jvonau/shhh
...
Big Red Messages
2017-09-25 08:39:25 -07:00
georgejhunt
fd154e1dfa
Merge pull request #277 from jvonau/myway
...
Allow iiab-admin to be optional again
2017-09-25 08:39:02 -07:00
Jerry Vonau
d6c566c032
elgg - handle upgrades
2017-09-24 15:35:24 -05:00
Jerry Vonau
b40bcd31f9
fix indent
2017-09-24 10:15:16 -05:00
A Holt
9678f92c0d
Upgrade to ELgg 2.3.4
2017-09-23 21:08:25 -04:00
Jerry Vonau
91c2063a94
elgg fix
2017-09-23 19:00:46 -05:00
Jerry Vonau
6e4540fa08
first_run framework
...
just remove it
2017-09-21 23:18:31 -05:00
Jerry Vonau
e57ff51ca8
move config_vars.yml creation
2017-09-21 23:18:31 -05:00
Jerry Vonau
53b884450b
move ignore_errors after register
2017-09-21 23:17:44 -05:00
Jerry Vonau
3d1efee5a6
isolate redhat network detection
2017-09-21 23:17:43 -05:00
Jerry Vonau
ad04450565
noted error #265 Refs #189 #137 #191
2017-09-21 23:17:43 -05:00
A Holt
94aa326184
smallfiles=true added to mongod.conf
...
Suggested by @arky in https://github.com/iiab/iiab/issues/254
2017-09-21 13:02:43 -04:00
georgejhunt
9200644a48
Merge pull request #239 from jvonau/net_last
...
Run network playbook once during runansible
2017-09-21 08:03:55 -07:00
georgejhunt
0555aca5d8
Merge pull request #278 from jvonau/squid
...
cover bad selection of install False enabled True by enduser
2017-09-21 08:01:07 -07:00
georgejhunt
5f3b5bacea
Merge pull request #295 from tim-moody/9-20-modules
...
add modules directory
2017-09-21 07:59:18 -07:00
George Hunt
0706e94f89
typos in when clause
2017-09-21 07:56:57 -07:00
George Hunt
383933eb38
stat requires path
2017-09-21 07:56:57 -07:00
George Hunt
e794e1e9d2
put in separate file, execute unconditionally
2017-09-21 07:56:57 -07:00
George Hunt
c021882545
Jerry suggested moving out of 1-prep
2017-09-21 07:56:57 -07:00
George Hunt
ee08c55f29
var no longer needed
2017-09-21 07:56:57 -07:00
George Hunt
effdd484f3
mountpoint fix for udev
2017-09-21 07:56:57 -07:00
A Holt
cab92435a9
Update install.yml
2017-09-20 20:13:18 -04:00
A Holt
d22e428a90
Update main.yml
2017-09-20 18:11:00 -04:00
A Holt
ee1ae0214c
Update install.yml
2017-09-20 18:10:10 -04:00
A Holt
cf9a072762
always download latest WordPress directly
...
Explained @ https://github.com/iiab/iiab/issues/293
2017-09-20 18:07:25 -04:00
Tim Moody
83ebd921b1
add modules directory
2017-09-20 15:24:05 -04:00
Jerry Vonau
fbb0912b34
run network playbook once during runansble
2017-09-19 19:26:40 -05:00
Jerry Vonau
50f849a649
cover bad selection of install False enabled True by enduser
2017-09-19 18:35:00 -05:00
Jerry Vonau
1dd9f699f4
fix whitespace on moved files
2017-09-19 14:51:17 -05:00
Jerry Vonau
4b620b0e0f
Keep iiab-admin files together
2017-09-19 14:51:17 -05:00
Jerry Vonau
41b0343d47
Close the backdoor if rquested
2017-09-19 14:41:22 -05:00
A Holt
b96667ae3a
WordPress 4.8.1 instead of 4.8
...
In preparation for IIAB 6.4 release.
2017-09-19 02:55:46 -04:00
A Holt
bae721cb24
remove "OS not supported" broken conditional
...
This (flawed) error msg is universally deceptive/distracting to new installers.
2017-09-18 20:46:03 -07:00
A Holt
3722f8fa0d
2 typos in roles/kalite/tasks/install.yml
2017-09-18 23:33:20 -04:00
A Holt
45ec82d1fb
typo in roles/2-common/tasks/packages.yml
2017-09-18 22:07:23 -04:00
Jerry Vonau
bc90485ce8
create symlink for kalite on path - remove unneeded creation of pip pre-cache
2017-09-18 13:38:53 -07:00
Jerry Vonau
ae66aa3433
correct package name
2017-09-18 13:38:53 -07:00
Jerry Vonau
c410b08ba3
osm paths
2017-09-18 13:38:53 -07:00
Jerry Vonau
f354759fa4
python-virtualenv
2017-09-18 13:38:53 -07:00
Jerry Vonau
b7671bf837
fix url
2017-09-18 13:38:53 -07:00
Jerry Vonau
db5086e85e
osm remove pip upgrade
2017-09-18 13:38:53 -07:00
Jerry Vonau
4cf1c6af2d
remove strict_install flag - # out 2-common pip install code
2017-09-18 13:38:53 -07:00
Jerry Vonau
017f854e31
merge kalite-venv
2017-09-18 13:38:53 -07:00
Jerry Vonau
4dff9e1977
OSM-venv
2017-09-18 13:38:53 -07:00
Jerry Vonau
265cc06fa6
missing statement
2017-09-18 13:38:53 -07:00
Jerry Vonau
778aff5207
toggle strict
2017-09-18 13:38:53 -07:00
Jerry Vonau
5033c846e1
strict_install python-setuptools and pip
2017-09-18 13:38:53 -07:00
Jerry Vonau
7ca0970b5a
introduce strict_install
2017-09-18 13:38:53 -07:00
Jerry Vonau
43bf8174c0
make DG and squid respect *_install and default dansguardian_install to False
2017-09-18 13:38:53 -07:00
George Hunt
dd80a8a03d
mongo version mixup. which conf file is used? we write to both
2017-09-18 11:11:24 -07:00
Jerry Vonau
11ef1d71c9
try to shrink mongodb ( #262 )
2017-09-18 09:14:59 -07:00
Jerry Vonau
6877bb2ac2
typo eth0 ( #251 )
...
correct service name
lets shut-up systemd
keep wifi variables with networking - remove unused variable
2017-09-18 08:19:46 -07:00
georgejhunt
115723fafe
Refresh ( #252 )
...
* disable cups for rpi
* typo, and defaultvars fix
* change refresh community edition ->IIAB
2017-09-16 11:30:03 -07:00
georgejhunt
ed2b5d78f2
just move our config to interfaces.d ( #247 )
...
* just move our config to interfaces.d
* debian needs same fix as rpi
* try to recover/upgrade from putting wrong content in interfaces -- restore it
* modify dhcpcd.conf for gui static changes
* cannot comment out jinja2 with #, need to wipe the {%
* deny Lan for dhcpcd, will need work if wifi is used upstream
* attempt to change ip from console without requiring a reboot
* Revert "attempt to change ip from console without requiring a reboot"
This reverts commit 14c7499cdc
.
Better not to break an upstream connection
* cleanup the iiab.j2 template --changing only comment lines
2017-09-15 22:31:09 -07:00
A Holt
0883c09cf0
fix Calibre spelling typos during Ansible runs
2017-09-14 19:27:48 -04:00
A Holt
4f5ec7ea55
port updated from 8010 to 8080
2017-09-14 19:24:53 -04:00
georgejhunt
0d193baf5e
Sugar ( #246 )
...
* typo, and defaultvars fix
* go to sugarizer 0.9
2017-09-13 18:13:50 -07:00
A Holt
c38bb3f8e4
kiwix-tools incl kiwix-serve upgraded 2017-08-28 to 2017-09-12
...
Smoke-tested.
2017-09-13 01:02:25 -04:00
georgejhunt
5feb3ce511
typo, and defaultvars fix ( #241 )
2017-09-11 09:49:48 -07:00
georgejhunt
9489099ac7
move install test to last item copied ( #213 )
2017-09-11 09:21:07 -07:00
georgejhunt
092617e75d
hardcoding ifaces on rpi was a bad idea ( #232 )
...
* remove hardcodeing of ifaces - raspbian
* remove commented out hardcodeing
2017-09-11 09:20:12 -07:00
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