1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
Commit graph

309 commits

Author SHA1 Message Date
A Holt
1dfb2f85aa
Install package python-virtualenv for KA Lite and Calibre-Web 2019-10-31 17:29:51 -04:00
Jerry Vonau
9844db85cb don't install python2 versions of pip setuptools virtualenv 2019-10-31 11:06:06 -05:00
Jerry Vonau
e3d0d454c0 requested changes 2019-10-31 09:30:53 -05:00
Jerry Vonau
7bf4e94234 add python3 versions of pip, setuptools, virtualenv 2019-10-31 09:05:38 -05:00
Jerry Vonau
37beab1c2e don't install python-passlib 2019-10-31 07:34:58 -05:00
Jerry Vonau
2298ece416 add all config files before calling daemon_reload 2019-07-16 12:55:47 -05:00
Jerry Vonau
77956e3687 drop the use of shell, use ansible's systemd instead 2019-07-16 12:53:23 -05:00
A Holt
b0c6b8d98b
Install pkg pastebinit on all IIAB's 2019-05-28 12:23:42 -04:00
holta
3a1ccf3638 'when: X' -> 'when: X | bool' for Ansibl 2.8 2019-05-24 18:33:10 -04:00
Tim Moody
67a9477693 add download and working dirs for maps 2019-05-09 15:09:40 -04:00
A Holt
04c8c99a3d
usbmount 0.0.14.1 comment clarified 2019-01-31 18:09:08 -05:00
A Holt
3d850253e8
Update packages.yml 2019-01-31 12:56:16 -05:00
A Holt
7821b86ced
Update packages.yml 2019-01-30 11:01:12 -05:00
Arky
a44bea04fc Install usbmount on Debian 10
Install usbmoutn debian package on Debian 10
2019-01-30 22:56:40 +07:00
A Holt
33d7eac916
Update packages.yml 2019-01-16 21:35:52 -05:00
A Holt
d1f44facd3
Update fl.yml 2019-01-15 15:33:51 -05:00
A Holt
971cb0d7d1
Update main.yml 2019-01-15 15:33:02 -05:00
A Holt
f3f19f7ff8
Update fl.yml 2019-01-15 14:52:19 -05:00
Jerry Vonau
9d3ff4c16a move fl.yml 2019-01-15 06:16:08 -06:00
A Holt
3966787ac9
Update packages.yml 2019-01-14 09:06:39 -05:00
A Holt
dc13c7b557
Update packages.yml 2019-01-01 22:10:06 -05:00
A Holt
87ba022891
Update packages.yml 2018-10-31 13:44:21 -04:00
A Holt
aa0f26072c
Update iiab-startup.yml 2018-10-31 00:01:22 -04:00
A Holt
89f17d3982
Update main.yml 2018-10-30 21:52:02 -04:00
A Holt
4874c78060
Update iptables.yml 2018-10-30 21:50:07 -04:00
A Holt
ba212e2b00
Update iiab-startup.yml 2018-10-30 21:44:37 -04:00
A Holt
ca3e6c354d
Update iiab-startup.yml 2018-10-30 21:40:59 -04:00
A Holt
ce194c5abc
Update iptables.yml 2018-10-30 21:38:52 -04:00
A Holt
811cd67eec
Update main.yml 2018-10-30 21:29:12 -04:00
A Holt
eab3b0ef30
Update packages.yml 2018-10-30 20:39:56 -04:00
A Holt
379102824c
Update packages.yml 2018-10-28 11:52:13 -04:00
root
b973906dc3 iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}" 2018-10-15 06:41:58 -04:00
A Holt
deb436b2f3
Update main.yml 2018-10-15 05:30:30 -04:00
A Holt
77c30ca341
Update packages.yml 2018-09-20 01:02:53 -04:00
A Holt
3b5032cdb4
Update packages.yml 2018-09-20 00:49:37 -04:00
A Holt
50b792869d
Update packages.yml 2018-07-17 15:09:23 -04:00
A Holt
abbd80c5fd
Update udev.yml 2018-07-16 16:56:42 -04:00
A Holt
25ab293776
Update udev.yml 2018-07-16 16:54:20 -04:00
A Holt
bed75d8c45
Update udev.yml 2018-07-16 16:51:39 -04:00
Jerry Vonau
db2b3b7ee1 netplan systemd-networkd static support 2018-05-12 22:44:08 -05:00
A Holt
5b671e2a46
check value/existence of HOSTAPD_ENABLED in iiab.env 2018-04-04 03:27:00 -04:00
A Holt
144ab33f24
Update iptables.yml 2018-02-12 21:55:37 -05:00
A Holt
0d6f4314a5
Update main.yml 2018-02-12 21:51:08 -05:00
A Holt
60d19bf1e6
indentation/syntax per new Ansible docs 2018-02-12 21:44:44 -05:00
A Holt
2a8dd40067
indentation/syntax per new Ansible docs 2018-02-12 21:42:21 -05:00
A Holt
9fd4c2a5e5
indentation/syntax per new Ansible docs 2018-02-12 21:35:44 -05:00
A Holt
9b804e3d5d
indentation/syntax per new Ansible docs 2018-02-12 21:32:18 -05:00
A Holt
19cd86dc1a
indentation/syntax per new Ansible docs 2018-02-12 21:29:06 -05:00
A Holt
4e92f19b76
Update README.rst 2018-02-12 20:20:32 -05:00
A Holt
57fb86699e
Update README.rst 2018-02-12 19:41:39 -05:00
A Holt
68dd7710d0
iiab-startup.sh can now enable promiscuous on 1st boot 2018-01-11 18:27:00 -05:00
A Holt
1178c452a7
backslash not needed (in bash conditional) 2018-01-11 13:51:22 -05:00
A Holt
7ce1278d7b
fix iiab-startup.sh when hostapd_enabled = False (bash syntax/comment error) 2018-01-11 13:48:27 -05:00
A Holt
8d36117fd9
Update iiab-startup.sh 2018-01-11 00:06:27 -05:00
A Holt
12b02ae991
Ignore /etc/iiab/config_vars.yml for now (too complex; TBD w/ Admin Console) 2018-01-10 23:29:32 -05:00
A Holt
e61b3bd03d
AIM: Promiscuous WiFi Only When Nec (on boot, etc) 2018-01-10 23:04:17 -05:00
A Holt
c438c13fb1
Enable Promiscuous WiFi on boot IFF AP's OFF 2018-01-10 22:42:09 -05:00
A Holt
2e8bb9c00d
Ansible output: "iiab-startup.service to {{ systemd_location }}" 2018-01-10 20:41:05 -05:00
A Holt
847a49917f
condition on /usr/libexec/iiab-startup.sh (NOT unit file!) 2018-01-10 20:26:52 -05:00
A Holt
e8a781230c
fix "state: restarted" in Ansible's systemd module 2018-01-10 20:09:35 -05:00
A Holt
fbe58d0ba6
consolidate 3 commands w/ Ansible's systemd module 2018-01-10 20:06:20 -05:00
A Holt
ff07ba716a
tighten conditionals (gratuitous "startup_unit.stat.exists is defined") 2018-01-10 19:43:34 -05:00
A Holt
d6a51cb175
iiab-startup.yml clarifications 2018-01-10 19:36:38 -05:00
A Holt
e157c5e5c6
RPi: wlan0 promiscuous starts in Stage 2 (iiab-startup.sh) 2018-01-04 23:53:39 -05:00
A Holt
2cb7173665
Update packages.yml 2017-12-08 01:25:19 -05:00
A Holt
7363a99c90
Update xo.yml 2017-12-08 01:22:54 -05:00
A Holt
29fe74652b
Update xo.yml 2017-12-08 01:05:03 -05:00
A Holt
2a4f2ac64a
Update packages.yml 2017-12-08 00:52:19 -05:00
George Hunt
7936b5b23e smoketest fixes 2017-11-25 01:25:55 +00:00
George Hunt
62a8ef6d0b create a script that executes at every startup 2017-11-24 16:57:46 +00:00
Jerry Vonau
6b276e53cc don't force ifupdown to be installed 2017-11-22 10:16:06 -06:00
A Holt
82b368e64f
Merge pull request #542 from holta/master
Slim down 2-common/tasks/packages.yml: OS handles (libc6, bash, iptables) & exFAT moved
2017-11-20 13:28:47 -05:00
A Holt
67eb923df9
Update packages.yml 2017-11-20 13:04:49 -05:00
A Holt
e2d198099a
Consensus decision to try to slim down #518 2017-11-20 12:58:06 -05:00
A Holt
bac2012f05
Merge pull request #536 from jvonau/TZ
TZ: include_tasks: tz.yml
2017-11-20 12:11:34 -05:00
Jerry Vonau
db38c9a1d0 move hostname.yml 2017-11-18 22:18:48 -06:00
Jerry Vonau
aafba9c520 check for TZ change post-install move tz.yml to 0-init 2017-11-18 22:10:29 -06:00
Jerry Vonau
13f156c21d split out TZ to 2-common 2017-11-18 22:10:29 -06:00
A Holt
f127af339d
Merge pull request #521 from holta/master
Ansible output presentation tweaks
2017-11-13 23:24:20 -05:00
A Holt
5439812038
Verbal clarif 2017-11-13 23:22:03 -05:00
Jerry Vonau
78048036c5 ifupdown for ubuntu-17 2017-11-13 21:38:09 -06:00
Jerry Vonau
c08de05fbd shift FQDN 2017-11-13 09:59:13 -06:00
Jerry Vonau
0d5d494514 iptables 2017-11-13 09:59:13 -06:00
Jerry Vonau
051808957a cleanup 2017-11-13 09:59:10 -06:00
A Holt
0b9712cab9
clarified "redhat" 2017-11-13 08:49:22 -05:00
A Holt
075de5f7c7
exfat-fuse & exfat-utils on debuntu; output cleanup 2017-11-13 08:27:55 -05:00
A Holt
63f619ad23
Merge branch 'master' into bug-327 2017-11-09 06:13:19 -05:00
A Holt
1533ad7ef6
Spelling / Capitalizations 2017-11-08 02:02:22 -05:00
A Holt
f687037996
Merge pull request #480 from holta/master
clarifs in medium.localvars, default_vars.yml, runansible, 2-common/tasks/iiab_ini.yml, network/tasks/squid.yml, moodle/tasks/main.yml, sugarizer/tasks/main.yml, cups/tasks/main.yml, calibre/tasks/main.yml, nextcloud/tasks/*.yml, kalite/tasks/*.yml, README-historical.md
2017-11-08 00:52:21 -05:00
Jerry Vonau
651755f2ff jiggle fl.yml to run before squid 2017-11-06 20:15:51 -06:00
Jerry Vonau
7ac839a300 FQDN - should of been httpd 2017-11-06 16:47:01 -06:00
Jerry Vonau
6e22e73ab6 reconfiguring for FQDN change 2017-11-06 15:34:28 -06:00
Jerry Vonau
5132062bf7 install iptables in 2-common 2017-11-06 15:34:28 -06:00
Jerry Vonau
e8bb95a33a (re)install named, dhcpd, squid when FQDN changes 2017-11-06 15:34:28 -06:00
Jerry Vonau
a32f81922e set hostname alias early 2017-11-06 15:34:28 -06:00
Jerry Vonau
c0590d973e move hostname handling from network role --edited double check after rebase 2017-11-06 15:34:25 -06:00
Adam Holt
c07c0d2d76 56 changes to include_tasks --edits double check after rebase 2017-11-06 15:34:25 -06:00
A Holt
c329a156a7 fill lines with ==='s 2017-11-06 12:35:00 -06:00
Jerry Vonau
17bd76097d partial cherry-pick of 0026446a80 2017-11-06 12:33:42 -06:00
Jerry Vonau
d907568c4b move iiab.env template - add starting STAGE=1 - update STAGE on the fly part 1 2017-11-06 12:33:42 -06:00
Jerry Vonau
a60661f45c move avahi package install 2017-11-06 12:33:41 -06:00
A Holt
f845efb421
readability tweak 2017-10-31 10:12:35 -04:00
A Holt
0ffbd6f119
cleanup for readability 2017-10-30 23:34:39 -04:00
A Holt
17d1164337
cleanup for readability 2017-10-30 23:30:29 -04:00
A Holt
47a78b426c
Ansible output tweak 2017-10-27 19:17:51 -04:00
A Holt
71cb3ec713 cleaner Ansible output 2017-10-27 11:41:24 -04:00
A Holt
0b688550ea cleaner Ansible messaging 2017-10-27 09:18:51 -04:00
A Holt
8de05f1f9f Update main.yml 2017-10-27 07:27:45 -04:00
A Holt
7a22e94d0d Update main.yml 2017-10-27 01:39:40 -04:00
A Holt
6f688799df Update main.yml 2017-10-26 23:43:50 -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
c9332b53e1 2-common disable dup'd routine 2017-10-26 10:48:40 -05: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
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
1d8e946b91 Merge pull request #428 from arky/misc-checks
Misc Fixes: Clean up whitespace warnings
2017-10-19 16:50:33 -04:00
Jerry Vonau
07c4243b91 disable ansible repo for now 2017-10-19 11:36:25 -05:00
Arky
3abb27bbed Misc Fixes: Clean up whitespace warnings 2017-10-19 13:40:23 +07:00
Jerry Vonau
a351511b0d supply ansible.repo for updating 2017-10-18 01:26:45 -05:00
A Holt
f9eef63af5 typo: XECE -> IIAB 2017-10-17 23:05:54 -04:00
Jerry Vonau
6060370388 don't exclude ansible from updating for is_redhat 2017-10-10 15:11:32 -05:00
Arky
2d433d2872 Using Ansible get_url module to fix warnings
Using Ansible 'get_url' modules instead of 'wget' to download usbmout package. Fixes warnings in bug #327
2017-10-01 17:03:24 +07:00
George Hunt
6f4bfdcf34 Revert "try to create symbolic links at boot time"
This reverts commit 6a4c65c7bc.

usbmount routine needs adapter variable passed in -- this does not work
2017-09-30 12:05:23 -07:00
George Hunt
6a4c65c7bc try to create symbolic links at boot time 2017-09-30 10:09:24 -07:00
A Holt
6ef6d28df2 describe as "reload" instead of "reboot"
Per discussion in http://minutes.iiab.io live chat.  @georgejhunt let us know if this is OK.
2017-09-30 12:44:04 -04:00
A Holt
597ace9416 describe as "reboot" instead of "reload"
@georgejhunt please let us know if this renaming is ok (as discussed in http://minutes.iiab.io live chat)

I'll do the 2nd file now.
2017-09-30 12:42:01 -04:00
George Hunt
4ba8a4825c make dest a directory for sure 2017-09-29 16:44:12 -07:00
George Hunt
ef91cda697 try restarting with unit file after network-online.target 2017-09-29 16:38:04 -07:00
A Holt
904401b190 changed /opt/schoolserver to /opt/iiab in comments 2017-09-28 13:50:52 -04:00
George Hunt
153f1792cb service typo 2017-09-27 07:56:34 -07:00
George Hunt
1ead6e032e ansible package regression 2017-09-26 21:34:49 -07:00
georgejhunt
5f3b5bacea Merge pull request #295 from tim-moody/9-20-modules
add modules directory
2017-09-21 07:59:18 -07:00
George Hunt
0706e94f89 typos in when clause 2017-09-21 07:56:57 -07:00
George Hunt
383933eb38 stat requires path 2017-09-21 07:56:57 -07:00
George Hunt
e794e1e9d2 put in separate file, execute unconditionally 2017-09-21 07:56:57 -07:00
George Hunt
c021882545 Jerry suggested moving out of 1-prep 2017-09-21 07:56:57 -07:00
Tim Moody
83ebd921b1 add modules directory 2017-09-20 15:24:05 -04:00
A Holt
45ec82d1fb typo in roles/2-common/tasks/packages.yml 2017-09-18 22:07:23 -04:00
Jerry Vonau
f354759fa4 python-virtualenv 2017-09-18 13:38:53 -07:00
Jerry Vonau
4cf1c6af2d remove strict_install flag - # out 2-common pip install code 2017-09-18 13:38:53 -07:00
Jerry Vonau
265cc06fa6 missing statement 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
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
georgejhunt
595d884bf4 drop download of usbmount for debian-9 (#180) 2017-08-31 10:16:50 -07:00
georgejhunt
b18178ea3c hyphen cannot be used in a variable name (#134) 2017-07-17 14:53:32 -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
Tim Moody
a8e15b8731 create directory in 2-common 2017-07-06 13:08:44 -04: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
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
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
George Hunt
646dae0f9e lynx is required for offline docs 2017-06-19 18:15:50 -07:00
George Hunt
5f46cdac03 release notes still not working 2017-06-19 16:25:34 -07:00
georgejhunt
f319afa432 Test (#20)
* change apache_data to apache_user in all

* no libapach2 in centos. just php. no php-magick in centos

* remove redundant vars entries

* do not create apache user

* missed one pound sign

* soft code all references to apache_user

* centos requires older setuptools

* revert ansible_lsb.id in xsce.yml

* try getting recent pip

* move pip download to 2prep so that kalite success is not dependent on iiab coming first

* still need to replace setuptools in kalite

* add curl -- needed in debian

* massivly substitue iiab for xsce, and rename files

* completed runansible

* centos fixes,install  pip

* appliance means no iptables rules

* change to earlier version of setuptools for centos

* delete file duplicate, hopefully unnecessary. generate the offline docs

* wiki docs errors

* create the admin group -- deleted earlier

* use the --yes option with pip uninstall

* base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io

* network detection broken due to tupo
2017-06-09 16:25:56 -07:00
George Hunt
76d088e130 nextcloud enabled failed due to lack of curl -- load it during regular package installation 2017-06-05 12:39:03 -07:00
George Hunt
cb344d7d47 patch 0002 2017-05-27 16:10:45 -07:00
George Hunt
845632d0ac initial checkin -- May 27, 2017 2017-05-27 11:09:50 -07:00