1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
Commit graph

300 commits

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