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

499 commits

Author SHA1 Message Date
A Holt
8f75d24dfa Update enable_services.yml 2017-10-27 02:37:42 -04:00
A Holt
5ffe093d0d Update README.rst 2017-10-27 02:12:04 -04:00
A Holt
2ce1414e4f Update README.rst 2017-10-27 02:07:25 -04:00
A Holt
070c4bcc3d Update README.rst 2017-10-27 02:04:55 -04:00
A Holt
9fd1466b78 Update README.rst 2017-10-27 02:01:27 -04:00
A Holt
3601c33d5b Update README.rst 2017-10-27 02:01:03 -04:00
A Holt
83e9d0bd60 Update README.rst 2017-10-27 02:00:35 -04:00
A Holt
b9278fedf7 Update README.rst 2017-10-27 01:59:33 -04:00
A Holt
932a2988a6 Update README.rst 2017-10-27 01:57:51 -04:00
A Holt
641ad23401 Update main.yml 2017-10-27 01:55:08 -04:00
A Holt
701f972d92 Update main.yml 2017-10-27 01:53:18 -04:00
A Holt
d5f11e8fa6 Update main.yml 2017-10-27 01:50:00 -04:00
A Holt
f411d1b6cf Update main.yml 2017-10-27 01:48:00 -04:00
A Holt
e05c525d8f Update main.yml 2017-10-27 01:46:55 -04:00
A Holt
66e13ab3e1 Update main.yml 2017-10-27 01:44:50 -04:00
A Holt
e4e638a4ee Update main.yml 2017-10-27 01:41:47 -04:00
A Holt
ddab0ca42b Update main.yml 2017-10-27 01:41:14 -04:00
A Holt
7a22e94d0d Update main.yml 2017-10-27 01:39:40 -04:00
A Holt
76e387885c Update main.yml 2017-10-27 01:38:00 -04:00
A Holt
f6bfb60f54 Update main.yml 2017-10-27 01:01:02 -04:00
A Holt
83c1a8aab5 Update main.yml 2017-10-27 00:58:23 -04:00
A Holt
cf1d1fce2f Update main.yml 2017-10-27 00:56:28 -04:00
A Holt
884a9e6d93 Merge pull request #22 from jvonau/AH-master
clean up roles/4-server-options/tasks/main.yml
2017-10-27 00:41:48 -04:00
A Holt
2c1f3411ec Update main.yml 2017-10-27 00:28:51 -04:00
Jerry Vonau
a013dc6bfb clean up roles/4-server-options/tasks/main.yml 2017-10-26 22:58:56 -05:00
A Holt
8088858b10 Update main.yml 2017-10-26 23:48:02 -04:00
A Holt
3f4c42d3c6 Update main.yml 2017-10-26 23:46:57 -04:00
A Holt
6f688799df Update main.yml 2017-10-26 23:43:50 -04:00
A Holt
5f883fdcff Rename iiab-home-page.conf to iiab-homepage.conf 2017-10-26 22:56:33 -04:00
A Holt
20c76c71ed Merge pull request #21 from jvonau/AH-master
rename home-page
2017-10-26 22:55:55 -04:00
Jerry Vonau
ef30a8c3e3 rename home-page 2017-10-26 21:52:41 -05:00
A Holt
d34e724421 Update main.yml 2017-10-26 22:44:54 -04:00
A Holt
8235710e63 Update main.yml 2017-10-26 22:44:06 -04:00
A Holt
18178f35cb Update main.yml 2017-10-26 22:33:22 -04:00
A Holt
c3c215ed5c Update main.yml 2017-10-26 22:33:15 -04:00
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