1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
Commit graph

127 commits

Author SHA1 Message Date
Jerry Vonau
132813c4be use case for os.localvars 2017-07-10 21:46:34 -07:00
George Hunt
d66b56824d remove comment also 2017-07-10 21:45:43 -07:00
George Hunt
d6f8364bee remove var to disable kalite proxy -- shadowing not a problem with substitute/rewrite approah 2017-07-10 21:45:43 -07:00
George Hunt
4aafe49443 do everything with substitute 2017-07-10 21:45:43 -07:00
George Hunt
045d120244 add ouput substitution to prevent shadowing likely root terms 2017-07-10 21:45:43 -07:00
George Hunt
3353dd0cee fix typo 2017-07-10 21:45:43 -07:00
George Hunt
3e407f7cc0 set up proxy for kalite 2017-07-10 21:45:43 -07:00
Tim Moody
c3d465da4c Merge pull request #106 from tim-moody/poweroff
Poweroff service
2017-07-06 13:13:11 -04:00
Tim Moody
5fa6a42af9 Merge branch 'master' of github.com:iiab/iiab into poweroff 2017-07-06 13:10:33 -04:00
Tim Moody
a8e15b8731 create directory in 2-common 2017-07-06 13:08:44 -04:00
Tim Moody
dd39e298f9 Merge pull request #105 from tim-moody/poweroff
Poweroff
2017-07-06 13:04:28 -04:00
Tim Moody
2e343f9330 Merge branch 'master' into poweroff 2017-07-06 13:02:59 -04:00
Tim Moody
191e260792 fix activity server install flag 2017-07-06 12:57:55 -04:00
Tim Moody
cfbb7829f9 make home for service and copy 2017-07-06 12:56:43 -04:00
Tim Moody
396c4cad72 apache poweroff service 2017-07-06 12:21:37 -04:00
Tim Moody
ddcba12b1f wrong line endings 2017-07-05 22:13:29 -04:00
georgejhunt
768ea36199 sudoers syntax (#103) 2017-07-05 17:40:56 -07:00
Tim Moody
957b3cffde give apache_user poweroff permission (#95) 2017-07-05 09:40:39 -07:00
georgejhunt
cbb090fe71 missing quote in localfacts (#97) 2017-07-04 15:39:45 -07:00
Tim Moody
6ea444e5de give apache_user poweroff permission 2017-07-04 17:46:11 -04:00
georgejhunt
7f80ed0345 failed_when (#94) 2017-07-04 13:45:26 -07:00
georgejhunt
c6554cb005 incorporate Jerrys fixes, that merges cleanly (#93) 2017-07-04 13:37:07 -07:00
georgejhunt
29b0b50885 Debian9 (#91)
* do a special download and install of usbmount

* misspelled iiab_download_url

* misspell downloads_dir

* diable php-sqlite

* php version issues

* fixes transferred from recognize branch

* local_fact moved

* remove preload

* remove preload

* spell ansible

* debian9 sqlite3

* package needs name

* remove prepped

* use apt ratheer than ansible package for npm

* monit disable chkconfig

* moodle needs php-zip and php-mbstring

* debian9 -> debian-9

* returen to os_ver nomenclature for OS.yml
2017-07-04 13:27:44 -07:00
georgejhunt
842e617e42 passwd check needs old salt (#90) 2017-07-04 13:09:12 -07:00
georgejhunt
dfe68e63fa Startup (#85)
* move local_facts, test for it, cp if necess

* got os wrong -- not OS

* change /etc/*release, vars/filenames

* add os_ver

* add os_ver to iiab.env

* remove uuid generation for local_facts

* next

* delete debugging lines

* fetch the uuid, and put it in ini file

* be more specific about uuid

* need braces in set_fact

* hyphen in OS-version

* go back to OS.yml based upon os_ver

* remove debug

* oops VERSION_ID->OS_VER

* issure error message when OS not in case statement
2017-07-04 13:07:47 -07:00
Jerry Vonau
0f9d25ab7c softcode apache_config_dir in iiab-make-apache-config.py (#81)
* softcode apache_config_dir in iiab-make-apache-config.py

* softcode iiab_zim_path in iiab-make-apache-config.py

* softcode iiab-make-kiwix-lib.py
2017-07-04 13:05:10 -07:00
Jerry Vonau
e4226e8515 suppress doc generation when requested (#77)
* add default nodocs

* exclude iiab-refresh-wiki-docs when nodocs is True

add nodocs: True to vars/local_vars.yml to skip doc generation.
2017-07-04 13:04:16 -07:00
Jerry Vonau
e5543b3f99 Timezone handling (#70)
* supply TZ info in php template

* should be already set in default_vars

* elgg - softcode timezone

* use supplied variable in php template

* guard against TZ not being present in env
2017-07-04 13:00:50 -07:00
Jerry Vonau
c00a5d828b Update ansible.cfg to match upstream (#62)
This fixes ansible versions 2.2.0+ 2.3.0  See: https://github.com/ansible/ansible/pull/1855
2017-07-04 13:00:13 -07:00
Jerry Vonau
97f6c4c654 OSM - CentOS (#60)
- untested - these look to be needed for CentOS
2017-07-04 12:57:52 -07:00
Jerry Vonau
f461e745d2 fix for centos (#58)
* Update main.yml

* provide common working default rtc_id for rpi
2017-07-04 12:54:06 -07:00
georgejhunt
d5397fd2b5 use gawk to fetch installed state (#52)
* use gawk to fetch installed state

* mysql_user priv was keeping user from begin created

* backout the change (a debug test) which ignored proper function on other distors

* backout the change -- GRANT is an additional capability
2017-07-04 12:51:01 -07:00
georgejhunt
de99731869 treat ubuntu dhcpd similarly to debian (#76) 2017-07-02 12:59:13 -07:00
georgejhunt
30f4dfc1af Notags (#73)
* bulk change use_cache/no_network->internet_available

* bulk change use_cache/no_network->internet_available

* remove unuseful debug statements

* remove download tags

* appendix has_internet_connection

* ubuntu dhcpd needs to connect to br0
2017-06-29 10:48:41 -07:00
georgejhunt
4462652deb Iiab (#68)
* xs- goes to iiab-

* more xs->iiab

* sysconfig was forgotten

* hyphen vs underscore i roles network templates

* bulk sed on pgsql-xs

* create links for old script names

* missed named-xs -> named-iiab

* squid-xs ->squid-iiab

* misspelled squid-iiab.conf.j2
2017-06-27 19:53:13 -07:00
George Hunt
909439f40b disable, and turn off apparmor 2017-06-27 19:50:36 -07:00
George Hunt
98b0a38f05 add two sed statements 2017-06-27 19:50:15 -07:00
Tim Moody
5f663a4b93 change default admin user/pw
allow access from all ips and domains
2017-06-27 19:49:57 -07:00
George Hunt
144bb15603 nextcloud installed detection 2017-06-20 15:29:14 -07:00
George Hunt
e3abe6cce0 nextcloud init failed after these lines were removed 2017-06-20 15:29:14 -07:00
George Hunt
1dedccf626 nextcloud repo errors ubuntu<->debian, dokuwiki changes 2017-06-19 22:17:22 -07:00
George Hunt
646dae0f9e lynx is required for offline docs 2017-06-19 18:15:50 -07:00
George Hunt
3f862da6a2 PR16 and PR17 -- moodle/templates/install -- /etc/hosts 2017-06-19 17:20:01 -07:00
George Hunt
68243f1a74 create a non prifileged user 2017-06-19 16:30:54 -07:00
George Hunt
dfe245d280 test for nextcloud installed. it fails on second call 2017-06-19 16:30:54 -07:00
George Hunt
6c48586a41 spell maintenance 2017-06-19 16:30:54 -07:00
George Hunt
cf0a649085 closer to nextcloud install 2017-06-19 16:30:54 -07:00
George Hunt
e4c5056cea use rewrite rather than proxypass to redirect internal kiwix links 2017-06-19 16:29:42 -07:00
Jerry Vonau
5b72b5b84c Create install.yml
correct archive filename
2017-06-19 16:28:31 -07:00
Jerry Vonau
0bbaa5f156 Create install.yml 2017-06-19 16:28:31 -07:00