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
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
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
A Holt
8093798210
rm /var/lib/mongodb/journal/prealloc.*
2017-10-18 17:20:20 -04: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
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