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

338 commits

Author SHA1 Message Date
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