Jerry Vonau
265cc06fa6
missing statement
2017-09-18 13:38:53 -07:00
Jerry Vonau
778aff5207
toggle strict
2017-09-18 13:38:53 -07:00
Jerry Vonau
5033c846e1
strict_install python-setuptools and pip
2017-09-18 13:38:53 -07:00
Jerry Vonau
7ca0970b5a
introduce strict_install
2017-09-18 13:38:53 -07:00
Jerry Vonau
43bf8174c0
make DG and squid respect *_install and default dansguardian_install to False
2017-09-18 13:38:53 -07:00
George Hunt
dd80a8a03d
mongo version mixup. which conf file is used? we write to both
2017-09-18 11:11:24 -07:00
Jerry Vonau
11ef1d71c9
try to shrink mongodb ( #262 )
2017-09-18 09:14:59 -07:00
Jerry Vonau
6877bb2ac2
typo eth0 ( #251 )
...
correct service name
lets shut-up systemd
keep wifi variables with networking - remove unused variable
2017-09-18 08:19:46 -07:00
georgejhunt
115723fafe
Refresh ( #252 )
...
* disable cups for rpi
* typo, and defaultvars fix
* change refresh community edition ->IIAB
2017-09-16 11:30:03 -07:00
georgejhunt
ed2b5d78f2
just move our config to interfaces.d ( #247 )
...
* just move our config to interfaces.d
* debian needs same fix as rpi
* try to recover/upgrade from putting wrong content in interfaces -- restore it
* modify dhcpcd.conf for gui static changes
* cannot comment out jinja2 with #, need to wipe the {%
* deny Lan for dhcpcd, will need work if wifi is used upstream
* attempt to change ip from console without requiring a reboot
* Revert "attempt to change ip from console without requiring a reboot"
This reverts commit 14c7499cdc
.
Better not to break an upstream connection
* cleanup the iiab.j2 template --changing only comment lines
2017-09-15 22:31:09 -07:00
A Holt
0883c09cf0
fix Calibre spelling typos during Ansible runs
2017-09-14 19:27:48 -04:00
A Holt
4f5ec7ea55
port updated from 8010 to 8080
2017-09-14 19:24:53 -04:00
georgejhunt
0d193baf5e
Sugar ( #246 )
...
* typo, and defaultvars fix
* go to sugarizer 0.9
2017-09-13 18:13:50 -07:00
A Holt
c38bb3f8e4
kiwix-tools incl kiwix-serve upgraded 2017-08-28 to 2017-09-12
...
Smoke-tested.
2017-09-13 01:02:25 -04:00
georgejhunt
5feb3ce511
typo, and defaultvars fix ( #241 )
2017-09-11 09:49:48 -07:00
georgejhunt
9489099ac7
move install test to last item copied ( #213 )
2017-09-11 09:21:07 -07:00
georgejhunt
092617e75d
hardcoding ifaces on rpi was a bad idea ( #232 )
...
* remove hardcodeing of ifaces - raspbian
* remove commented out hardcodeing
2017-09-11 09:20:12 -07:00
georgejhunt
17ae885dea
remove workarounds for august stretch bugs ( #233 )
2017-09-11 09:18:12 -07:00
georgejhunt
58f078da43
xs_wan_device -> iiab_wan_device -- oops ( #235 )
2017-09-11 09:17:45 -07:00
georgejhunt
2f528a13de
let dhcpcd do wan, make wan manual in interfaces for networking service ( #238 )
2017-09-11 09:17:16 -07:00
georgejhunt
41dbbf167f
raspbian lite images has awk but not gawk ( #189 )
2017-09-11 09:14:13 -07:00
A Holt
f8c8c61bd5
Merge pull request #216 from georgejhunt/npmreinstall
...
Npmreinstall, with @jvonau fixed added; smoke-tested twice by @holta
2017-09-07 23:15:16 -04:00
A Holt
4c3f520fbf
sugarizer/tasks/main.yml fix, when -> when:
...
@jvonau caught this; I smoke-tested it.
2017-09-07 23:07:36 -04:00
georgejhunt
363a85e12f
thought elgg state=directory was in ( #218 )
2017-09-04 12:50:42 -07:00
George Hunt
633be1964c
apt->apt-get
2017-09-04 11:50:30 -07:00
George Hunt
1f3dfd19d4
stat the npm files
2017-09-04 11:43:00 -07:00
georgejhunt
ed2b82a54c
ini file is for programmer -- do not mangle variable name ( #187 )
2017-09-04 09:25:27 -07:00
georgejhunt
7d576bbe0c
Elgg upgrade 1.12.16 LTS to 2.3.3; Nextcloud - add php's zip mbstring ( #202 )
...
* add mbstring for debian
* add php7.0-zip
* capture a few fixes
* put in new sqldump
2017-09-04 09:23:54 -07:00
A Holt
a52d1c90f0
Upgrade KA Lite from 0.17.2 to 0.17.3 ( #212 )
...
Smoke tested.
2017-09-04 09:22:26 -07:00
georgejhunt
ae2ae73911
get name correct ( #184 )
2017-08-31 14:07:42 -07:00
georgejhunt
99780ed8e1
deprecate old/unused services ( #183 )
2017-08-31 13:20:02 -07:00
George Hunt
ea950209e2
Revert "drop download of usbmount for debian-9 ( #180 )"
...
This reverts commit 595d884bf4
.
usbmount is not actually in debian 9
2017-08-31 12:11:10 -07:00
Jerry Vonau
56a2f5c003
teamviewer is non-arm and CentOS only ( #173 )
2017-08-31 10:29:25 -07:00
georgejhunt
595d884bf4
drop download of usbmount for debian-9 ( #180 )
2017-08-31 10:16:50 -07:00
georgejhunt
4260cd4b6f
upgrade elgg from 1.12.12 to 1.12.16 ( #179 )
2017-08-31 10:16:31 -07:00
georgejhunt
54bd3f7414
pi zero is different ansible_machine ( #144 )
...
* pi zero is different ansible_machine
* trying to create link fails, if same nams as file exists. This was too much backward compatability
2017-08-31 10:09:03 -07:00
georgejhunt
ee4df858b3
Ifnames ( #160 )
...
* move reboot early in install process for rpi9 only
* sed regular expression, add space above message
* has awk but not gawk
* add in download of wifi driver - raspbian-9
2017-08-31 10:08:04 -07:00
georgejhunt
cac882a7ef
escape the dollar sign in password hash ( #159 )
...
* escape the dollar sign in password hash
* all that is needed is single rather than double quote
2017-08-31 10:07:05 -07:00
georgejhunt
cc7d884cde
bump to current stable version ( #136 )
2017-08-31 10:05:49 -07:00
A Holt
eb22d74c36
Elgg README.rst referenced broken link
...
Not sure why http://schoolserver.lan/elgg did not also work, but:
http://box.lan/elgg (similar to http://box/elgg ) is correct going forward.
2017-08-30 11:26:18 -04:00
Tim Moody
673c7916ce
change kiwix version to 2017-08-28
2017-08-29 22:21:51 -04:00
A Holt
16ec7bc6a2
KA Lite upgraded from 0.17.0 to 0.17.2
...
Smoke tested lived during today's call @ http://minutes.iiab.io
(KA Lite 0.17.2 promises many improvements over 0.17.0 as listed in the link above)
2017-08-28 19:16:28 -04:00
Jerry Vonau
e0c6a84bff
don't fail if apparmor is not installed ( #161 )
2017-08-24 10:02:17 -07:00
georgejhunt
5fdbe61aab
defeat the iface renaming in debian 9 ( #156 )
2017-08-21 18:50:59 -07:00
georgejhunt
5037c497b1
needed apache module ( #154 )
2017-08-21 17:49:56 -07:00
tim-moody
44f96c3539
check for existence of index dir when creating library.xml
2017-08-12 16:16:00 -04:00
Jerry Vonau
939688d7de
add disable for redhat, add osm_enabled
2017-07-21 17:22:08 -05:00
Jerry Vonau
0710ed2958
osm - set_fact only when enabled
2017-07-21 17:22:08 -05:00
Jerry Vonau
0af81c7d33
supply default value for osm_path
2017-07-21 17:22:08 -05:00
georgejhunt
4da87a96b6
runansible straight through ( #148 )
2017-07-21 09:40:01 -07:00
georgejhunt
15b0afc03b
Phpmoodle ( #141 )
...
* treat debian 8-9 differently
* yaml syntax
* tired error
* mbstring moved to php5-cli
2017-07-17 19:48:54 -07:00
georgejhunt
06440aea60
Mysql89 ( #140 )
...
* mysql debian 8vs9
* php7.0-xml is the requirement
2017-07-17 19:46:30 -07:00
georgejhunt
cbdb5b307a
space in </virtualhost may be error ( #135 )
2017-07-17 15:38:25 -07:00
georgejhunt
b18178ea3c
hyphen cannot be used in a variable name ( #134 )
2017-07-17 14:53:32 -07:00
Jerry Vonau
e426b10ec3
set facts style ( #133 )
...
rename python_path to osm_path
use osm_path in place of {% if is_debuntu %}
remove whitespace
make python_path available for all playbooks
2017-07-17 12:21:08 -07:00
Jerry Vonau
3358b727d9
is_debian-8 & is_debian-9 ( #129 )
2017-07-17 12:20:46 -07:00
Jerry Vonau
fb858ac56e
Keep old ejabberd ( #125 )
...
* preserve old ejabberd as ejabberd-xs
* have 5-xo-services use ejabberd-xs
* install latest ejabberd on is_redhat
* move ejabberd to 6-generic-apps
* move the repo exclude
* rename directory from - to _
* make disabled work
2017-07-17 12:20:08 -07:00
Jerry Vonau
e7a9fab5db
Nobody has pulled the plug to test offline ansible succuss. ( #131 )
2017-07-17 12:19:42 -07:00
Jerry Vonau
7abc3e2d68
Don't supply default gateway while in LanController mode ( #130 )
2017-07-17 12:19:01 -07:00
Jerry Vonau
e415f3956c
replacement for no_network ( #127 )
2017-07-17 12:18:35 -07:00
georgejhunt
3734984d3b
F18 ( #124 )
...
* get f18 fixed
* missing F in False
* an -> and
2017-07-17 12:17:45 -07:00
Jerry Vonau
22f3b7bd5d
master <-> 6.3 differences and upgrade path to 6.4 ( #128 )
...
* treat ubuntu dhcpd similarly to debian (#84 )
* 6.3 pwroff (#107 )
* poweroff
* poweroff
* poweroff
* some master sneaked into poweroff
* more master slipped in -- nodocs
2017-07-17 12:11:46 -07:00
georgejhunt
be7f05d15a
Update main.yml
2017-07-11 09:19:16 -07:00
Jerry Vonau
8dbfa4b5fe
With no DL2 tag it makes no sense to cache pip packages for later use
2017-07-11 09:19:16 -07:00
George Hunt
4baf72a07a
config->conf in kalite
2017-07-11 08:26:33 -07:00
George Hunt
8b9c7de777
softcode the admin_passw_hash
2017-07-10 21:47:33 -07:00
Jerry Vonau
ca04adfa50
disable creation of online groups
2017-07-10 21:47:16 -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
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
2e343f9330
Merge branch 'master' into poweroff
2017-07-06 13:02:59 -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
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
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
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