A Holt
0538bdc386
Update main.yml
2017-10-26 22:31:56 -04:00
A Holt
961ea1813e
Update main.yml
2017-10-26 22:29:54 -04:00
A Holt
c5e3836708
Update main.yml
2017-10-26 22:29:16 -04:00
A Holt
8555f7ee95
Update main.yml
2017-10-26 22:28:18 -04:00
A Holt
08a746cd06
Update main.yml
2017-10-26 22:24:42 -04:00
A Holt
ba42a04569
Update main.yml
2017-10-26 22:22:59 -04:00
A Holt
3b32a9877a
Delete main.yml
2017-10-26 22:22:31 -04:00
A Holt
97a6930e1a
Update main.yml
2017-10-26 22:14:01 -04:00
A Holt
0d1982de56
Update main.yml
2017-10-26 22:09:05 -04:00
A Holt
2be027a07d
Update iiab-home-page.conf
2017-10-26 22:06:39 -04:00
A Holt
10bd33a5d1
Update iiab-home-page.conf
2017-10-26 22:06:20 -04:00
A Holt
ec0d48146d
Update main.yml
2017-10-26 22:04:54 -04:00
A Holt
bd703564a4
Update main.yml
2017-10-26 22:01:02 -04:00
A Holt
e413203942
Delete main.yml
2017-10-26 22:00:20 -04:00
A Holt
b7899e85fa
Delete main.yml
2017-10-26 21:47:46 -04:00
A Holt
68c7af4987
Update main.yml
2017-10-26 21:45:31 -04:00
A Holt
858405be66
Update main.yml
2017-10-26 21:44:42 -04:00
A Holt
aa279dbb8d
Update main.yml
2017-10-26 21:43:09 -04:00
A Holt
8fc56009b9
Update main.yml
2017-10-26 21:31:06 -04:00
A Holt
19f501608e
Update main.yml
2017-10-26 21:22:03 -04:00
A Holt
0253c7bd3d
mysql not needed (u can still do "./runtags mysql")
2017-10-26 21:15:37 -04:00
A Holt
b25acca8b6
Delete main.yml
2017-10-26 21:10:17 -04:00
A Holt
4f8b7d17b8
Update main.yml
2017-10-26 21:09:55 -04:00
A Holt
9af6c3aa06
Delete main.yml
2017-10-26 20:58:56 -04:00
A Holt
a92f5cb90d
Delete main.yml
2017-10-26 20:58:23 -04:00
A Holt
4ab0f3a50e
Update main.yml
2017-10-26 20:42:44 -04:00
A Holt
849ba9610d
Update main.yml
2017-10-26 20:30:37 -04:00
A Holt
74ebfabd1f
Update main.yml
2017-10-26 20:29:28 -04:00
A Holt
62b7ed8e40
proposed new template for all 9+ tasks/main.yml ?
2017-10-26 20:27:42 -04:00
A Holt
6ef437cc79
comments included..not quite there yet
...
3 problems:
1. include_role: does not permit tags, so presumably prevents more advanced use of "./runtags olpc" including roles across several of the 9 stages
2. I really want a "dynamic" approach like include_tasks: that spares us the madness of dozens of pages of "skipping, skipping, skipping" crap that should not be running anyway (avoiding the "static" behavior of the old "include:")
But unfortunately include_role: does not accept "static: no" (as currently works within "include: ... when:")
3. Any way to squeeze things onto 1 line in Ansible, so it's actually readable as https://github.com/iiab/iiab/blob/master/roles/7-edu-apps/meta/main.yml was?
2017-10-26 17:08:37 -04:00
A Holt
0e49901759
Delete main.yml
2017-10-26 16:20:44 -04:00
A Holt
e8edbbc6b9
include_role experiment, oviating meta/main.yml ?
2017-10-26 16:19:54 -04:00
A Holt
40414f691b
Merge pull request #303 from jvonau/avoid_1-prep
...
Avoid 1 prep - speeds up runtags
2017-10-26 12:32:40 -04:00
Jerry Vonau
2d49a1590b
change netvars to 0-init
2017-10-26 10:48:41 -05:00
Jerry Vonau
c606083553
XSCE -> IIAB
2017-10-26 10:48:41 -05:00
Jerry Vonau
0aedaa24fd
split network up in iiab.ini
2017-10-26 10:48:40 -05:00
Jerry Vonau
bd50433874
move network detection to network -- adjused for hostname
2017-10-26 10:48:40 -05:00
Jerry Vonau
ae5434bd3d
move internet detection to be global - adjused iiab.env 2
2017-10-26 10:48:40 -05:00
Jerry Vonau
c9332b53e1
2-common disable dup'd routine
2017-10-26 10:48:40 -05:00
Jerry Vonau
337658062e
prep.yml cleanup - adjusted for iiab.env
2017-10-26 10:48:40 -05:00
Jerry Vonau
b61b009f08
move NewInstall
2017-10-26 10:48:40 -05:00
Jerry Vonau
2fc670a885
avoid 1-prep post install
2017-10-26 10:48:40 -05:00
Jerry Vonau
dfab9635bc
add the not installing option to netvars
2017-10-26 10:48:40 -05:00
Jerry Vonau
9f45d12972
replacement for a7a5f36... use netvars
2017-10-26 10:48:40 -05:00
A Holt
a803b20919
Merge pull request #463 from holta/kiwix-0.3.0-2
...
Implement Kiwix 0.3.0 using nightly from 2017-10-25
Smoke-tested & VERY basic functionality testing on Raspbian Desktop 2017-09-07.
* Please test with a much WIDER diversity of ZIM's *
closes #460
2017-10-25 13:49:30 -04:00
A Holt
b5326941d0
kiwix 2017-10-11-> 2017-10-25
2017-10-25 12:36:32 -04:00
A Holt
0bccaf4903
Rename yum-deprecated.yml to yum-historical.yml
2017-10-24 20:02:54 -04:00
A Holt
0d1e4a1dd3
Install common packages: add ntfs-3g as 26th pkg
2017-10-24 20:00:48 -04:00
A Holt
980635332f
Rename yum.yml to yum-deprecated.yml
2017-10-24 19:55:15 -04:00
Jerry Vonau
e230aeaaaf
tighten up regexp
2017-10-23 21:57:51 -05:00
Jerry Vonau
b0fb07c650
python needs single quotes for variables
2017-10-23 20:24:58 -05:00
Jerry Vonau
b0fb67af9d
Proposed fix for issue #448
...
Might need full path ie {{ osm_path }} in place of {{ osm_venv }}
With the push by the distros to python3 we took the step to use virtual
environments to better contain python 2.7 based programs.
2017-10-23 14:15:08 -05:00
A Holt
a23c72fe70
Merge pull request #378 from jvonau/home-page
...
Home page setting: http://box to WordPress etc?
2017-10-23 11:46:47 -04:00
Jerry Vonau
95d5e73133
testing changes
2017-10-23 09:27:55 -05:00
George Hunt
1408d9f4eb
work around for bug
2017-10-23 02:29:22 -07:00
A Holt
89e3461e17
Merge pull request #442 from jvonau/433
...
named / DNS fix for #433 Squid install fail
closes #433
2017-10-22 02:45:34 -04:00
A Holt
ad8509bbbb
Merge pull request #436 from holta/master
...
use Ansible to pin nodejs to 6.x (curl was not suffic on WiFi install)
2017-10-22 02:45:01 -04:00
Jerry Vonau
d98291fb04
named - wrong place
2017-10-21 14:23:36 -05:00
A Holt
0b2a86a6bc
clarify that nodejs 6.x includes /usr/bin/npm
2017-10-20 12:57:13 -04:00
A Holt
3ef77c3962
use Andible to pin nodejs to 6.x (curl was not suffic on WiFi install)
2017-10-20 10:33:34 -04:00
Arky
602223e4ff
Adds spaces in variables after {{ and before }}
...
Fixes various warnings in Travis CI
[EXTRA0001] Variables should have spaces after {{ and before }}
2017-10-20 11:36:10 +07:00
A Holt
b1e166db69
typo in comment: npn -> npm
2017-10-19 21:16:08 -04:00
A Holt
1d8e946b91
Merge pull request #428 from arky/misc-checks
...
Misc Fixes: Clean up whitespace warnings
2017-10-19 16:50:33 -04:00
A Holt
69febb7e83
Merge pull request #15 from arky/misc-checks
...
Misc Fixes: Clean up whitespace warnings [sync from arky/iiab branch misc-checks]
2017-10-19 13:53:58 -04:00
georgejhunt
7f9cccc2ef
Merge pull request #426 from jvonau/centos-
...
Centos - ansible 2.4
2017-10-19 09:40:23 -07:00
Jerry Vonau
07c4243b91
disable ansible repo for now
2017-10-19 11:36:25 -05:00
georgejhunt
4b31d0edf3
Merge pull request #427 from holta/master
...
bypass MongoDB; forcibly remove MongoDB's 256MB prealloc files
2017-10-19 09:25:54 -07:00
georgejhunt
9b36f7f4d8
Merge pull request #381 from jvonau/more_bs
...
ensure network is completed before saying first_run is complete
2017-10-19 08:58:49 -07:00
Arky
3abb27bbed
Misc Fixes: Clean up whitespace warnings
2017-10-19 13:40:23 +07:00
A Holt
9963f8bb1b
experiment with Sugarizer w/o MongoDB
2017-10-19 01:31:24 -04:00
A Holt
f0b5dde2c7
experiment with removing MongoDB
2017-10-19 01:28:27 -04:00
A Holt
a60133713d
Trial removal of MongoDB, for a more lightweight Sugarizer
2017-10-19 00:41:40 -04:00
A Holt
9361f6dc88
remove both "when: not mongodb_enabled" so prealloc files actually get deleted
...
See https://github.com/iiab/iiab/blob/master/roles/1-prep/tasks/computed_vars.yml#L63-L67 pasted in here:
- name: Turn on mongodb if sugarizer enabled
set_fact:
mongodb_install: True
mongodb_enabled: True
when: sugarizer_enabled
The above 5 lines might be commented out as an experiment, to dump MongoDB entirely on a trial basis.
2017-10-19 00:29:52 -04:00
Jerry Vonau
6d87652e8c
just dup the code
2017-10-18 22:01:51 -05:00
A Holt
942bb4a18b
"when: not mongodb_enabled" added back
2017-10-18 22:00:13 -04:00
A Holt
48b30cc8a7
remove prealloc.* in the Ansible way (works even if files absent)
2017-10-18 19:08:30 -04:00
A Holt
eb2550141b
try removing prealloc files later, to catch them all
2017-10-18 18:36:35 -04:00
Jerry Vonau
0064694bbe
limit --no-cache-dir exclude to is_redhat
2017-10-18 17:20:17 -05:00
A Holt
8093798210
rm /var/lib/mongodb/journal/prealloc.*
2017-10-18 17:20:20 -04:00
Jerry Vonau
a351511b0d
supply ansible.repo for updating
2017-10-18 01:26:45 -05:00
Jerry Vonau
a4c69e8597
centos remove --no-cache-dir
2017-10-18 01:20:37 -05:00
Jerry Vonau
574b292f20
OSM - centos remove --disable-pip-version-check - 2
2017-10-18 01:20:33 -05:00
Jerry Vonau
7b12175e50
OSM - centos remove --disable-pip-version-check
2017-10-18 01:19:03 -05:00
A Holt
f9eef63af5
typo: XECE -> IIAB
2017-10-17 23:05:54 -04:00
A Holt
5cc67612e1
Merge pull request #13 from iiab/master
...
sync from iiab/iiab
2017-10-17 21:50:21 -04:00
A Holt
da82fa0659
kiwix_serve_enabled -> kiwix_enabled
2017-10-17 21:17:45 -04:00
A Holt
1af4556567
spacing cleanup
2017-10-17 21:16:24 -04:00
A Holt
7e3b33c35a
kiwix_serve_enabled: False -> kiwix_enabled: True
2017-10-17 21:15:03 -04:00
Jerry Vonau
908bb54145
Nodejs 6.X - npm is not available standalone
2017-10-17 17:39:29 -05:00
A Holt
c1101d2e3d
Merge pull request #380 from jvonau/permissions
...
permissions - storaged as execuables in git - installed files need not be executable
2017-10-16 10:25:31 -04:00
A Holt
3d40c788a0
Merge pull request #416 from arky/octal-fixes
...
Fix octal permissions warnings in Travis CI
2017-10-16 10:22:20 -04:00
A Holt
60ce896c3f
Merge pull request #403 from jvonau/dir_del
...
remove unused role
2017-10-16 10:19:59 -04:00
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