Jerry Vonau
2ca7ac9a00
https://bugs.launchpad.net/ubuntu/+bug/1872897
2020-04-17 06:43:45 -05:00
Jerry Vonau
612ac79fed
ensure wireless-tools is installed for ubuntu
2020-03-26 04:48:09 -05:00
A Holt
ea9d4e9df5
Clean/fix Ansible comments i.e. debuntu no longer applicable
2020-03-19 17:32:11 -04:00
A Holt
3a4cd6a7c7
Clarify installation of 4 packages: dphys-swapfile, fake-hwclock, iw, rfkill
2020-03-19 17:28:45 -04:00
A Holt
01527023ab
Merge pull request #2294 from jvonau/u20test
...
U20test / Ubuntu 20.04 to offer PHP 7.3 and 7.4 [Nextcloud PHP deps, php-stem on U20, ap0 prep, KA Lite on Ubermix, etc]
2020-03-19 14:33:30 -04:00
A Holt
c6939a4959
Clarify removal of libgeos-* pkgs for KA Lite on Ubermix
2020-03-19 12:01:38 -04:00
Jerry Vonau
04368ffbe9
move Ubermix workaround
2020-03-19 05:42:00 -05:00
Jerry Vonau
e66766c88e
ubuntu missing iw rfkill
2020-03-19 05:09:53 -05:00
Jerry Vonau
9d331e8262
bluetooth needs a kick on ubuntu
2020-03-15 06:14:54 -05:00
Jerry Vonau
9cfbbd0d58
usercfg.txt on ubuntu
2020-03-15 01:54:57 -05:00
Jerry Vonau
49a137ddcd
ensure dphys-swapfile is restarted
2020-03-15 01:30:49 -05:00
Jerry Vonau
e48d56dfb9
ensure dphys-swapfile fake-hwclock are installed
2020-03-15 01:27:45 -05:00
Jerry Vonau
eca80a289a
modern OS are shipping systemd-timesyncd pre-enabled other packages not needed
...
ntp and chrony actually conflict with each other
2020-03-14 22:52:06 -05:00
Jerry Vonau
5eaa5baf3b
ubuntu mounts the first partition differently - limit swapfile mods to raspbian
2020-03-14 22:30:45 -05:00
Jerry Vonau
4e57383379
replace is_rpi with rpi_model
2020-03-04 17:02:01 -06:00
A Holt
86ed7d4144
Update 1-prep/tasks/main.yml
2020-01-23 22:52:13 -05:00
A Holt
2e49e24d13
Clean 1-prep/tasks/main.yml
2020-01-13 11:11:46 -05:00
Jerry Vonau
4f0827b876
move iiab_env.py
2019-11-28 05:39:24 -06:00
A Holt
bb40a34569
pi_swap_size -> pi_swap_file_size
2019-08-13 16:20:24 -04:00
A Holt
ea0733ea3d
redundant "when: is_debuntu" (clarify rpi_model & is_rpi issues)
2019-08-13 16:10:17 -04:00
A Holt
f9b29b17da
500 -> {{ pi_swap_size }}
2019-08-13 14:47:10 -04:00
A Holt
74a68bed56
Merge pull request #259 from georgejhunt/flat
...
sync from georgejhunt:flat
2019-06-22 15:39:33 -04:00
holta
9543a10d82
': false' to ': False' + ': true' to ': True' or ': yes'
2019-05-24 19:29:41 -04:00
holta
3a1ccf3638
'when: X' -> 'when: X | bool' for Ansibl 2.8
2019-05-24 18:33:10 -04:00
A Holt
59a4df170f
1-prep: tidying for Debian 10 Buster release (soon)
2019-05-12 01:06:53 -04:00
George Hunt
ec04e861c7
add in ansible vars, and network control files for network manager and systemd networkd
2019-04-14 14:29:56 -07:00
George Hunt
24d3d5c989
working to function on current code
2019-04-13 20:51:07 -07:00
A Holt
ccea69b1b3
Update main.yml
2019-03-29 15:44:23 -04:00
Jerry Vonau
055e99ae43
moved to 'iiab'
2019-01-15 06:08:36 -06:00
A Holt
a7451d6350
Update main.yml
2019-01-15 02:59:12 -05:00
A Holt
b439ef36d4
Update main.yml
2019-01-12 16:19:07 -05:00
A Holt
086df861fd
Update iiab.conf
2019-01-12 16:12:28 -05:00
A Holt
6eb5b1bc9c
Create iiab.conf
2019-01-10 20:00:12 -05:00
A Holt
4cfb6f013e
Update main.yml
2019-01-10 19:59:29 -05:00
George Hunt
2771238fe0
debian does not install sudo by default, and iiab-admin was moved before packages
2018-11-17 19:13:15 -08:00
A Holt
cbf1c1ed1d
Update raspberry_pi.yml
2018-11-03 23:46:22 -04:00
A Holt
962a3d2c39
Update raspberry_pi.yml
2018-11-03 22:46:05 -04:00
A Holt
5de384d64d
Update raspberry_pi.yml
2018-11-03 22:38:22 -04:00
A Holt
ad9547db32
Update main.yml
2018-11-02 21:47:45 -04:00
A Holt
0e27dc6b3a
Update raspberry_pi.yml
2018-11-02 21:44:03 -04:00
A Holt
a62eee1fdb
Update main.yml
2018-11-02 21:33:52 -04:00
A Holt
bb49de941d
Update main.yml
2018-11-02 21:32:26 -04:00
A Holt
5f699515d8
Update main.yml
2018-11-02 21:31:50 -04:00
A Holt
29513f60b3
Update main.yml
2018-11-02 21:28:26 -04:00
A Holt
a09c9e3e6f
Update main.yml
2018-10-28 11:42:44 -04:00
root
b5efe25edb
/etc/iiab/iiab.ini -> {{ iiab_ini_file }}
2018-10-15 07:01:09 -04:00
root
b973906dc3
iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}"
2018-10-15 06:41:58 -04:00
A Holt
34aa710c2e
Update main.yml
2018-10-15 05:29:33 -04:00
A Holt
1269437b6f
Delete .iiab.env.j2.un~
2018-10-09 09:06:05 -04:00
George Hunt
b11b46ccd0
use hard coded iiab-servar.lan as a link between client redirects and our server
2018-10-02 02:30:52 +00:00
George Hunt
d90b6becb9
hard code a ficticious, but stable, server name for url linked to by captive portal
2018-10-01 19:48:08 +00:00
George Hunt
4ee9c3e2b5
add in template dir
...
rebase bassed upon copy in
cut out obvious dead code
working on put-204
make users a sqlite db
sqlite db has users, and agent info
android timeouts not yet working
android 5 and 6 both work. lost mac
return to a working version for the MAC. Missing the splash
android,mac,windows all appear to work
sqlite get status of execute row == Null
initialize lasttimestamp with ajax call when home is triggered
remove commented code, move towards logging vs print statements
add logging with the -l flag
no changes to default_vars.yml
drop iptables captive portal stuff not using port 8090, and dnsmasq
missed deleting trap_enabled
fixes for 6.7 defaults
add in template dir
rebase bassed upon copy in
cut out obvious dead code
working on put-204
make users a sqlite db
sqlite db has users, and agent info
android timeouts not yet working
android 5 and 6 both work. lost mac
return to a working version for the MAC. Missing the splash
android,mac,windows all appear to work
sqlite get status of execute row == Null
initialize lasttimestamp with ajax call when home is triggered
remove commented code, move towards logging vs print statements
drop iptables captive portal stuff not using port 8090, and dnsmasq
missed deleting trap_enabled
fixes for 6.7 defaults
dispense with apache logs for captive portal, use the rotating portal.log instead
bring in clean defaults and py
Squash debugging details
remove backup file
still cannot dispense with cna on iphone. mac escape from cna broke with these changes
captive comes after iiab in apache config
one filename wrong
logging used for debug, lost mac escape from cna
typos
got mac/iphone full browser back
remove dead code
python was not creating db, or putting ip when first encountered
2018-09-29 03:40:14 +00:00
A Holt
3f9572b309
Update main.yml
2018-09-20 03:53:26 -04:00
A Holt
84eea97af9
Update main.yml
2018-09-19 20:42:37 -04:00
A Holt
fe5ab4496d
Update main.yml
2018-09-19 17:32:07 -04:00
A Holt
86aa6a8c43
English grammar
2018-03-28 14:00:10 -04:00
George Hunt
304e8b1b8c
perhaps debian moved hwclock from /usr/sbin to /sbin
2018-02-16 05:20:42 +00:00
A Holt
6324cf4655
Rename raspberry_pi_2.yml to raspberry_pi.yml
2018-02-12 21:04:53 -05:00
A Holt
9ac16ee093
indentation/syntax per new Ansible documentation
2018-02-12 21:04:25 -05:00
A Holt
68a61805be
raspberry_pi_2.yml -> raspberry_pi.yml; indentation/syntax per new Ansible docs
2018-02-12 21:03:49 -05:00
A Holt
e330cebbc5
Update README.rst
2018-02-12 19:41:29 -05:00
A Holt
90351bb6a8
Update main.yml
2017-12-08 01:21:21 -05:00
A Holt
67c0b11133
Update main.yml
2017-12-08 01:16:51 -05:00
Jerry Vonau
ecc9f1b836
iiab_base_ver iiab_revision
2017-11-15 20:19:02 -06:00
Jerry Vonau
051808957a
cleanup
2017-11-13 09:59:10 -06:00
Jerry Vonau
ac0d86a4de
Better O-init visuals
2017-11-06 15:34:27 -06:00
Jerry Vonau
4015a7c8f1
no_net_restart
2017-11-06 15:34:27 -06:00
Jerry Vonau
3e4ae6b07d
syntax check
2017-11-06 15:34:27 -06:00
Jerry Vonau
e9fc26fc2d
update syntax in 1-prep iiab_ini.yml
2017-11-06 15:34:26 -06:00
Jerry Vonau
38fb39ad2b
remove first_run from 1-prep main.yml
2017-11-06 15:34:26 -06:00
Jerry Vonau
bd7d1dded5
move is_rpi to computed_vars.yml for 0-init
2017-11-06 15:34:26 -06:00
Jerry Vonau
16102e0da6
computed_vars cleaning
2017-11-06 15:34:26 -06:00
Jerry Vonau
ff22bcaf83
backport of 46c36b3e3542ffe5609ab5cc10a60de7335d6cd9 double check after rebase
...
backport of c837cde92304cfaf4a44c31dfb40bbadfd05fe04
backport of a0102669d2d842163d17d61e254dbd0ba8a3ea92
touch up
backport of a55c0555b6fb92a6b6b239a9dce2fde2100e7ae5
2017-11-06 15:34:25 -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
104bbf784a
fill lines with ==='s
2017-11-06 12:35:00 -06:00
Jerry Vonau
41242f4471
XSCE -> IIAB in iiab.env
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
ff626df2f4
cherry-pick f6ddc8ecfb
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
A Holt
38a87bbcc1
cleanup for readability
2017-10-30 23:29:32 -04:00
A Holt
1bd1fbda8f
cleaner Ansible messaging
2017-10-27 09:16:55 -04:00
A Holt
3f0cae31d6
Update main.yml
2017-10-27 07:27:04 -04:00
A Holt
b18a2df1f0
Update computed_vars.yml
2017-10-27 04:20:53 -04:00
A Holt
5ffe093d0d
Update README.rst
2017-10-27 02:12:04 -04:00
A Holt
76e387885c
Update main.yml
2017-10-27 01:38:00 -04:00
A Holt
8088858b10
Update main.yml
2017-10-26 23:48:02 -04:00
A Holt
3f4c42d3c6
Update main.yml
2017-10-26 23:46:57 -04:00
Jerry Vonau
c606083553
XSCE -> IIAB
2017-10-26 10:48:41 -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
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
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
1d8e946b91
Merge pull request #428 from arky/misc-checks
...
Misc Fixes: Clean up whitespace warnings
2017-10-19 16:50:33 -04: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
Arky
3abb27bbed
Misc Fixes: Clean up whitespace warnings
2017-10-19 13:40:23 +07:00
A Holt
a60133713d
Trial removal of MongoDB, for a more lightweight Sugarizer
2017-10-19 00:41:40 -04:00
Jerry Vonau
bd1320e58b
ensure network is completed before saying first_run is complete
2017-10-10 15:09:54 -05:00
Jerry Vonau
7fd475b0e5
use iiab.env for first_run test
2017-10-02 12:59:37 -05:00
George Hunt
2226dc4422
test for existence of stat
2017-09-27 16:10:22 -07:00
Jerry Vonau
a9df337ac5
correct selinux for non-redhat installs
2017-09-25 11:34:55 -05:00
Jerry Vonau
6e4540fa08
first_run framework
...
just remove it
2017-09-21 23:18:31 -05:00
Jerry Vonau
53b884450b
move ignore_errors after register
2017-09-21 23:17:44 -05:00
Jerry Vonau
3d1efee5a6
isolate redhat network detection
2017-09-21 23:17:43 -05:00
Jerry Vonau
ad04450565
noted error #265 Refs #189 #137 #191
2017-09-21 23:17:43 -05:00
George Hunt
c021882545
Jerry suggested moving out of 1-prep
2017-09-21 07:56:57 -07:00
George Hunt
ee08c55f29
var no longer needed
2017-09-21 07:56:57 -07:00
George Hunt
effdd484f3
mountpoint fix for udev
2017-09-21 07:56:57 -07:00
A Holt
bae721cb24
remove "OS not supported" broken conditional
...
This (flawed) error msg is universally deceptive/distracting to new installers.
2017-09-18 20:46:03 -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
778aff5207
toggle strict
2017-09-18 13:38:53 -07:00
Jerry Vonau
7ca0970b5a
introduce strict_install
2017-09-18 13:38:53 -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
17ae885dea
remove workarounds for august stretch bugs ( #233 )
2017-09-11 09:18:12 -07:00
georgejhunt
41dbbf167f
raspbian lite images has awk but not gawk ( #189 )
2017-09-11 09:14:13 -07:00
georgejhunt
ed2b82a54c
ini file is for programmer -- do not mangle variable name ( #187 )
2017-09-04 09:25:27 -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
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
4da87a96b6
runansible straight through ( #148 )
2017-07-21 09:40:01 -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
e7a9fab5db
Nobody has pulled the plug to test offline ansible succuss. ( #131 )
2017-07-17 12:19:42 -07:00
Jerry Vonau
e415f3956c
replacement for no_network ( #127 )
2017-07-17 12:18:35 -07:00
georgejhunt
cbb090fe71
missing quote in localfacts ( #97 )
2017-07-04 15:39:45 -07: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
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
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
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
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
Jerry Vonau
b4ac79f445
Update computed_vars.yml
...
kiwix - remove duplicate code
2017-06-19 16:26:02 -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
Tim Moody
1a627bddd2
change rpi detection to use Raspbian id
2017-06-04 10:19:34 -04:00
Tim Moody
9c4643d4fd
wrong file name
2017-06-02 13:40:16 -04:00
Tim Moody
1b476f9a0a
move xsce_env.py.j2 to prep.yml
2017-06-01 16:55:49 -04: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