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

322 commits

Author SHA1 Message Date
Arky
6f0a903a5f Fix octal permissions warnings in Travis CI 2017-10-16 13:57:57 +07:00
A Holt
f7ca2fe9a8 Merge pull request #304 from jvonau/sugar
Install nodejs correctly
2017-10-14 09:06:17 -04:00
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
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