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

705 commits

Author SHA1 Message Date
Jerry Vonau
325db43473 netplan - let backends handle static ip 2020-05-01 10:27:49 -05:00
Jerry Vonau
4ab0e63214 wifi routines needed on non-rpi hardware 2020-05-01 10:27:49 -05:00
Jerry Vonau
3d4b23f2fe exclude NM from touching ap0 2020-05-01 10:27:49 -05:00
Jerry Vonau
8751b33271 can't start hostapd when ap0 is in use needs reboot 2020-05-01 10:27:49 -05:00
Jerry Vonau
f83e615b40 netplan 2020-05-01 10:27:49 -05:00
Jerry Vonau
56ba4d0d19 static ip systemd-networkd 2020-05-01 10:27:49 -05:00
Jerry Vonau
7307962067 manage.conf.j2 2020-05-01 10:27:49 -05:00
Jerry Vonau
e741ba35ea revert the rest of 5a70c9feea 2020-05-01 10:27:49 -05:00
Jerry Vonau
4f4e7f5cc5 file status -> state think0 2020-05-01 10:27:49 -05:00
Jerry Vonau
3b26b4c594 don't call netplan apply 2020-05-01 10:27:49 -05:00
Jerry Vonau
5a538cbdd2 netplan.yml - use item|trim for delete test 2020-05-01 10:27:49 -05:00
Jerry Vonau
fa886874b0 iiab-wifi cleanup routable.d when not wifi_up_down 2020-05-01 10:27:48 -05:00
Jerry Vonau
6f1ef6ec83 hostapd.yml typo no 'e' 2020-05-01 10:27:48 -05:00
Jerry Vonau
d34e7053b9 netplan - Disable cloud-init the easy way - bugfix 2020-05-01 10:27:48 -05:00
Jerry Vonau
b8cf8712c2 netd-disp tuning 2020-05-01 10:27:48 -05:00
Jerry Vonau
776b983e3d documented force does not work use masked no 2020-05-01 10:27:48 -05:00
Jerry Vonau
24624c6e6f hostapd is masked force override 2020-05-01 10:27:48 -05:00
Jerry Vonau
14bed5f2fc bad idea NM uses dbus to to call wpa_supplicant 2020-05-01 10:27:48 -05:00
Jerry Vonau
3725969686 remove dnsmasq workaround for br0 being down at boot 2020-05-01 10:27:48 -05:00
Jerry Vonau
7db1464b76 don't check for wifi slaves if wifi gateway 2020-05-01 10:27:48 -05:00
Jerry Vonau
09c7c3e252 legacy support should not boot to AP on mode 2020-05-01 10:27:48 -05:00
Jerry Vonau
2089a0c918 don't set hostapd_enabled: False with wifi gateway 2020-05-01 10:27:48 -05:00
Jerry Vonau
ab8de54e24 restart - hostapd use wifi gateway as test 2020-05-01 10:27:48 -05:00
Jerry Vonau
0249c3a100 turn off hostapd in Appliance mode 2020-05-01 10:27:48 -05:00
Jerry Vonau
0bc294bbba Update roles/network/tasks/hostapd.yml
Co-Authored-By: A Holt <holta@users.noreply.github.com>
2020-05-01 10:27:48 -05:00
Jerry Vonau
10eb7e76d9 sysd-netd drop wired device count 2020-05-01 10:27:47 -05:00
Jerry Vonau
ed01d0584d netplan - 01-iiab exclude wireless devices 2020-05-01 10:27:47 -05:00
George Hunt
0d9321a363 partial of 720c285... typo iiab_wireless_an_iface 2020-05-01 10:27:47 -05:00
Jerry Vonau
640dbd64ea use wifi_up_down to set iiab_wireless_lan_iface 2020-05-01 10:27:47 -05:00
Jerry Vonau
4d9d925db8 one template - 2 copies 2020-05-01 10:27:47 -05:00
George Hunt
75162642ad suppose iiab-wifi should be absent when not wifi_up_down 2020-05-01 10:27:47 -05:00
George Hunt
97fa35c9d2 don't let dhcpcd muck around with wlan0 if it's under the br0 2020-05-01 10:27:47 -05:00
George Hunt
b0a54afc1c remove dhcpcd hooks if not up_down 2020-05-01 10:27:47 -05:00
Jerry Vonau
04c876b28a don't clobber later revisions to hostapd.service.j2 2020-05-01 10:27:47 -05:00
Jerry Vonau
ca8e9ab79a let NM if active handle wired slaves 2020-05-01 10:27:47 -05:00
Jerry Vonau
9893e62fd5 int casting 2020-05-01 10:27:47 -05:00
Jerry Vonau
1d4e427fa9 softcode exclude devices, move tests and turn into hard failures, record wifi after channel detection, prior_gateway_device, fix ap0 exclude 2020-05-01 10:27:47 -05:00
Jerry Vonau
6783038b29 don't forget about non-netplan networkd
netplan.stdout is undefined should handle debian
netplan.stdout.find("yaml") == -1) should handle U-16.04 U-18+ uses netplan
2020-05-01 10:27:46 -05:00
Jerry Vonau
3dd370e088 limit hostapd to 2.4GHz for now on RPI 2020-05-01 10:27:46 -05:00
Jerry Vonau
3c1bcc01ef lets try netplan apply to restart the network 2020-05-01 10:27:46 -05:00
Jerry Vonau
ef7ad60800 netplan - need to start netplan-wpa@ after hostapd 2020-05-01 10:27:46 -05:00
Jerry Vonau
3d5428b0a5 sysd-netd-debian - multi wired slaves 2020-05-01 10:27:46 -05:00
Jerry Vonau
1693e502ba Rework reserved_wifi -> reserved_device 2020-05-01 10:27:46 -05:00
Jerry Vonau
a311454436 network/main remove installing, move hostapd.yml, notes, cleanup 2020-05-01 10:27:46 -05:00
Jerry Vonau
d0a27ce0df systemd-networkd version of dhcpcd's 50-hostapd hook 2020-05-01 10:27:46 -05:00
Jerry Vonau
ac935f4c93 netplan don't delete user's wifi config 2020-05-01 10:27:46 -05:00
Jerry Vonau
3e02d57210 restart - use ap0 for bridge slave test 2020-05-01 10:27:46 -05:00
Jerry Vonau
668b8baf10 keep wlan0 and ap0 on the same channel on RPi hardware 2020-05-01 10:27:46 -05:00
Jerry Vonau
39cf3b2947 exclude ap0 from count_wifi_interfaces 2020-05-01 10:27:46 -05:00
Jerry Vonau
bf5dc8cf15 generate random mac address for ap0 2020-05-01 10:27:46 -05:00
Jerry Vonau
bccb155523 better discription of when rpi_debian.yml task is used 2020-05-01 10:27:45 -05:00
Jerry Vonau
23124b3a19 iiab-hotspot-on|off for all, is_rpi, style 2020-05-01 10:27:45 -05:00
Jerry Vonau
188407614c dhcpcd hook for hostapd 2020-05-01 10:27:45 -05:00
Jerry Vonau
c56b9e6510 use hostapd's service file to create ap0 2020-05-01 10:27:45 -05:00
Jerry Vonau
87b86000b2 method to creat ap0 and have hostapd use it 2020-05-01 10:27:44 -05:00
root
cb1a708abb rm 25 *.deprecated files/dirs 2020-04-20 11:07:00 -04:00
Jerry Vonau
17c69eca74 network exclude ap0 2020-03-19 06:49:04 -05:00
Jerry Vonau
b8163a1e7c network - missing and #2284 2020-03-09 12:43:05 -05:00
A Holt
f9b2c51d41
Merge pull request #2275 from jvonau/is_rpi
Kill off is_rpi
2020-03-09 12:14:24 -04:00
Jerry Vonau
b956c34c56 remove quotes 2020-03-04 23:21:28 -06:00
Jerry Vonau
845d88cf41 network - reduce is_rpi or move to is_raspbian 2020-03-04 17:00:01 -06:00
A Holt
e5f2a251e2
Update network/tasks/down-debian.yml 2020-02-17 13:08:41 -05:00
A Holt
13da8238f9
Merge pull request #377 from jvonau/more_bs
Sync from jvonau:more_bs
2020-02-17 13:05:33 -05:00
Jerry Vonau
8946ed1f03 CP started dnsmasq can't shut it down now, resolvconf set /etc/resolv.conf to 127.0.0.1 2020-02-17 03:02:40 -06:00
root
810fc81ac8 Convert dest: to path: per Ansible lineinfile norms 2020-02-03 19:54:04 -05:00
Jerry Vonau
3bb839294d install time fix for #2220 2020-02-02 00:21:45 -06:00
root
210200e85c Spacing/Comment in roles/network/tasks/main.yml 2020-01-30 05:06:22 -05:00
root
2cdf846365 Remove tags in ~30 files, improve verbiage 2020-01-30 04:57:53 -05:00
root
814efd5a02 Mostly var cleanup across ~80 files 2020-01-30 04:00:00 -05:00
root
780ed4a955 Experiment: comment out Ansible tags in 25 files 2020-01-13 20:41:03 -05:00
root
6e6fab170d 3 iiab.ini descrips + rm excess '| bool' casts 2020-01-13 19:57:50 -05:00
A Holt
d4906db5ce
Experimentally comment out tags from network/tasks/main.yml 2020-01-13 12:13:11 -05:00
root
a4d898dd9c Cleaner ver: 35+1 files may write to iiab_state.yml 2020-01-12 18:15:33 -05:00
root
c53fc6fc9a Clean wondershaper.yml, nginx/tasks/main.yml 2020-01-12 17:21:56 -05:00
root
bd915fcdae 35 tasks/*.yml writing to iiab_state.yml 2020-01-12 17:06:24 -05:00
root
509d110ece Add 'XYZ_installed: True' to {{ iiab_state_file }} 2020-01-11 23:31:47 -05:00
root
99f48aae4a iiab.ini: '| string' avoids Ansible warnings 2020-01-11 21:41:37 -05:00
A Holt
ed23daf69f
Update hosts.yml.deprecated 2019-12-11 01:26:29 -05:00
A Holt
fb394d7bb3
Update hosts.yml.deprecated 2019-12-11 01:26:04 -05:00
A Holt
d548ae0908
Update and rename hosts.yml to hosts.yml.deprecated 2019-12-11 01:21:03 -05:00
A Holt
c92160be60
Merge pull request #2051 from jvonau/hosts_dnsmasq
Use alternate hosts file /etc/hosts.dnsmasq [so dnsmasq DOESN'T send "127.0.0.1 box box.lan" from /etc/hosts to client machines]
2019-12-11 00:56:03 -05:00
A Holt
abde721ba0
Clarify purpose of /etc/hosts.dnsmasq 2019-12-11 00:54:33 -05:00
Jerry Vonau
084f2a0328 use alternate hosts file for dnsmasq 2019-12-02 00:41:12 -06:00
holta
38fd86ac90 2008 var names, output, comments, small bugs 2019-11-28 05:32:00 -06:00
Jerry Vonau
2423d9a293 network guard against faulty user edits to local_vars 2019-11-28 05:27:44 -06:00
Jerry Vonau
29b28d8393 stage 4 installed 2019-11-28 05:27:44 -06:00
Jerry Vonau
ee4494c074 supply config file when hardware is present 2019-08-15 09:14:08 -05:00
Jerry Vonau
fdf070d181 discovered_wireless_iface is always defined via defaults 2019-08-15 08:39:54 -05:00
Jerry Vonau
7dd7f9485d supply unit file when hardware is present 2019-08-15 06:39:01 -05:00
Jerry Vonau
2c692fb07a only supply systemd unit file when enabled 2019-08-15 06:10:55 -05:00
Jerry Vonau
c0c8b4e984 rework logic to correct recording of hostapd state 2019-08-15 06:09:22 -05:00
A Holt
6e33566a61
Merge pull request #1918 from jvonau/more_docker
ignore docker interfaces for LAN device count
2019-08-08 12:20:56 -04:00
Jerry Vonau
0d0775ccbf remove unneeded quotes 2019-08-08 11:12:33 -05:00
Jerry Vonau
64379d9233 ignore docker interfaces for LAN device count 2019-08-08 11:01:32 -05:00
A Holt
2ea3fda205
Merge pull request #1906 from jvonau/no_!=
use 'not' in place of '!='
2019-07-29 13:48:49 -04:00
Jerry Vonau
b73354a2cf use 'not' in place of '!=' 2019-07-29 12:12:09 -05:00
A Holt
cc445f640e
Revert #1886, test for Debian 9+ 2019-07-26 12:17:19 -04:00
Jerry Vonau
a4c0b314a8 don't force templates, only create once in squid.yml 2019-07-20 23:35:42 -05:00
Jerry Vonau
9c4dc791d4 don't supply patch_auto for debian-10 2019-07-18 10:28:03 -05:00
A Holt
17e8c4ee6e
Clarif FQDN & hostnames added to /etc/hosts 2019-07-08 15:15:48 -04:00
Jerry Vonau
b9b773aa00 make ansible happy 2019-07-08 12:25:56 -05:00
Jerry Vonau
4a8daa1d12 better feedback for dhcp_service2 2019-07-06 23:35:38 -05:00
Jerry Vonau
ed0d8961a6 correct waiting explaination 2019-07-06 23:09:59 -05:00
Jerry Vonau
3baa790b6e fix WAN detection in /etc/network/interfaces 2019-07-06 22:59:12 -05:00
A Holt
252cac143d
Update enable_services.yml 2019-06-29 18:29:58 -04:00
A Holt
ee4ed1b94d
towards fixing #1778 2019-06-27 19:58:10 -04:00
Anish Mangal
2d4a55aef2 do not copy dnsmasq restart script if we are on rpi 2019-06-23 11:43:45 +00:00
Anish Mangal
dfeb3cb5a0 Move the dnsmasq-restarter script from dnsmasq.yml to enable_services.yml 2019-06-23 07:57:19 +00:00
Anish Mangal
afee35b222 Restart dnsmasq whenever iiab-lan-iface comes back up 2019-06-23 06:30:50 +00:00
Anish Mangal
0c85804e99 Merge branch '1753' into dnsmasq-fix 2019-06-23 06:20:18 +00:00
Anish Mangal
808d7d1697 Add br-* and docker to network interface list to exclude 2019-06-23 02:39:27 +00:00
Jerry Vonau
718fccc51c
Update computed_network.yml
Docker
2019-06-20 12:11:45 -05:00
Jerry Vonau
0851b6093d
Update detected_network.yml
Docker
2019-06-20 12:03:03 -05:00
Anish Mangal
8a1094e964 Move freepbx from being hosted at pbx.lan to <ip>:8888 2019-06-20 04:30:55 +00:00
A Holt
f56c9e8c75
restart dnsmasq in appliance mode too! 2019-06-19 20:07:53 -04:00
Jerry Vonau
be9671d6c5
Update computed_services.yml
Fix
2019-06-19 10:49:23 -05: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
holta
2e3c4b7b2e comments preserve hardcoded U18 clauses 2019-05-24 03:13:52 -04:00
holta
3eccbd9d60 '| bool' for Ansible 2.8; prep U18+ 2019-05-24 03:06:43 -04:00
root
2ea775848a Add |bool in network/tasks/restart.yml 2019-05-24 01:51:03 -04:00
A Holt
3d976bebec
iptables doc tweak 2019-05-23 19:42:40 -04:00
A Holt
98049544b1
Lines numbers fixed in comment 2019-05-21 04:03:39 -04:00
A Holt
efd317d62f
Line number fix in comment 2019-05-21 03:31:28 -04:00
A Holt
071d5987b7
http-vs-https clarified in network/tasks/avahi.yml 2019-05-21 02:43:43 -04:00
A Holt
c74053ef52
also clarify "ports_externally_visible: 2" means http-or-https in avahi.yml 2019-05-19 14:04:14 -04:00
A Holt
b3d837b182
Comment fixed in network/tasks/avahi.yml 2019-05-19 06:31:42 -04:00
A Holt
669dcf7a6e
gui_wan -> ports_externally_visible >= 2 in avahi.yml 2019-05-19 05:45:16 -04:00
A Holt
50e5e1067f
Clarify why hostapd_wait (5 seconds for now) is nec 2019-05-07 16:16:07 -04:00
A Holt
98f682a0e4
Ansible file module "path" is equiv to "dest" 2019-05-04 00:57:44 -04:00
A Holt
63ab350994
Comments tightened up 2019-05-04 00:54:27 -04:00
A Holt
0682b03931
run netplan.yml if Ubuntu 18.04 or higher 2019-05-03 23:51:06 -04:00
A Holt
d509213043
Update debian.yml 2019-04-11 11:33:42 -04:00
A Holt
95063553eb
Update debian.yml 2019-04-11 11:32:47 -04:00
George Hunt
58ce24bd4c debian 10 needs auto just like 9 2019-04-11 06:39:24 -07:00
A Holt
73531b1f46
Merge pull request #1525 from holta/wifi-dnsmasq-fix
WiFi dnsmasq fix for #1519 - always create br0 on RPi
2019-02-26 13:36:01 -05:00
A Holt
4f564ed670
Merge pull request #1453 from holta/iiab-network-dup-routes-fix
Change iiab.j2 to rpi.j2 to fix iiab-network dup route failings?
2019-02-26 13:34:06 -05:00
A Holt
2c4d79f928
isolate br0: restart networking if bridge exists 2019-02-26 13:27:49 -05:00
A Holt
abafd34709
Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab 2019-02-26 13:23:55 -05:00
A Holt
237547f9da
exclude wired interface for RPi 2019-02-26 13:05:10 -05:00
A Holt
3ec408fbd1
cleaner, on @jvonau's recommendation 2019-02-25 12:00:46 -05:00
A Holt
fa8ac3606d
@jvonau: suppress restarting of dnsmasq if initial install is using WiFi 2019-02-25 11:56:57 -05:00
Anish Mangal
425df6b4f0 Add pbx and pbx.lan to /etc/hosts 2019-02-06 21:15:43 +00:00
A Holt
9edce23829
Update rpi_debian.yml 2019-02-05 13:10:19 -05:00
A Holt
3957891c36
Update rpi_debian.yml 2019-02-05 12:59:03 -05:00
A Holt
e2120ef8aa
Change iiab.j2 to rpi.j2 to fix #1452 dup route problem? 2019-02-05 12:56:51 -05:00
A Holt
1f8c3f78cb
Update computed_services.yml 2019-01-31 14:29:19 -05:00
A Holt
c160e0e1d7
Merge pull request #1407 from jvonau/move_dnsmasq
Move dnsmasq config file to /etc/dnsmasq.d/
2019-01-17 15:04:05 -05:00
A Holt
e5abe54373
Update enable_services.yml 2019-01-17 15:03:12 -05:00
Jerry Vonau
04928693b1 as requested in chat 2019-01-17 12:43:50 -06:00
Jerry Vonau
f43f2f4d77 move dnsmasq config file to /etc/dnsmasq.d/
Bugfix don't supply named/bind files when not enabled.
2019-01-17 10:41:55 -06:00
A Holt
63fda2b290
Update main.yml 2019-01-16 04:49:30 -05:00
Jerry Vonau
2550eb4d04 Don't auto reinstall named, dhcpd when install is False
Trigger is change in hostname away from what is set in local_vars.
2019-01-16 03:32:40 -06:00
A Holt
a654b64476
box.lan NOT iiab-server.lan 2019-01-10 19:12:56 -05:00
Jerry Vonau
9254e4b400 fix WiFi as gateway 2019-01-02 01:32:40 -06:00
Jerry Vonau
346ad4cde6 cheap unmasking 2018-12-29 14:14:56 -06:00
Jerry Vonau
4c14ae3e37 use .yaml instead of .yml 2018-12-29 13:49:06 -06:00
Jerry Vonau
0827827925 use .yml with file name, allow removal of more than one file name 2018-12-29 11:47:18 -06:00
Jerry Vonau
00152a0769 use iiab-dnsmasq.service everywhere 2018-12-19 15:58:53 -06:00
Jerry Vonau
f4a99abaf2 less time without services 2018-12-16 07:22:38 -06:00
Jerry Vonau
82e1a6fe63 use netplan for static wan interface on U-18 2018-12-16 06:39:19 -06:00
A Holt
ab8017647a
Apply suggestions from code review
as requested

Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-16 06:26:55 -06:00
Jerry Vonau
bba77de643 yaml syntax 2018-12-15 18:55:18 +00:00
Jerry Vonau
3e36883758 networkd only 2018-12-15 00:32:33 -06:00
Jerry Vonau
d6690b2537 lets not use netplan for bridges 2018-12-15 00:32:33 -06:00
A Holt
f24e600945 Update roles/network/tasks/netplan.yml
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
A Holt
c0f2d38d1c Update roles/network/tasks/netplan.yml
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
A Holt
eb9a222887 Update roles/network/tasks/netplan.yml
Co-Authored-By: jvonau <jvonau3@gmail.com>
2018-12-15 00:32:33 -06:00
Jerry Vonau
27470ab830 stdout_lines 2018-12-15 00:32:33 -06:00
Jerry Vonau
3167f8133a #1320 fix for U-18 dnsmasq 2018-12-15 00:32:33 -06:00
Jerry Vonau
967102bc4f easier way to disable cloud-init 2018-12-15 00:32:33 -06:00
Jerry Vonau
14dd29eba4 refine netplan2 2018-12-15 00:32:33 -06:00
Jerry Vonau
d0c66fb4d3 refine netplan 2018-12-15 00:32:33 -06:00
Jerry Vonau
343d00848f split out netplan2 2018-12-15 00:32:33 -06:00
Jerry Vonau
93694e853b split out netplan 2018-12-15 00:32:33 -06:00
A Holt
e74dd2def1
Update named.yml 2018-12-03 03:05:17 -05:00
A Holt
15d5405295
Update named.yml 2018-12-03 02:54:49 -05:00
A Holt
ff10a576f3
Update dnsmasq.yml 2018-12-03 02:31:12 -05:00
A Holt
5353d725a8
Update dnsmasq.yml 2018-12-03 02:30:16 -05:00
A Holt
d05123afe9
Allow systemd-resolved AND dnsmasq to work (#1306) 2018-12-03 02:23:39 -05:00
georgejhunt
84da40c40d
Cap2 (#1300)
* move captive portal to its own role

* runrole still not working

* make apache name consistent, define py_captive_portal_port

* record android fixes

* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows

* works all platforms

* one captive_portal_install not changed to py_captive...

* port into defaults

* windows 7,8,10,mac,ios,android 5,7

* add # to dnsmasq.d/captive

* guess what android 8 might need

* move captive portal to its own role

* runrole still not working

* make apache name consistent, define py_captive_portal_port

* record android fixes

* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows

* works all platforms

* one captive_portal_install not changed to py_captive...

* port into defaults

* windows 7,8,10,mac,ios,android 5,7

* add # to dnsmasq.d/captive

* guess what android 8 might need

* restart apache2 and dnsmasq in role

* do not hard code apache name

* cut out disfunctional experiments

* variable py_captive_portal_port misspelled

* add wildcard serveralias to box.lan vhost to fix default

* add in STDOUT to log

* remove the py_

* add in msn to urls to capture

* missed a few py_
2018-11-17 20:09:40 -08:00
A Holt
57e0747564
Update restart.yml 2018-11-03 23:39:03 -04:00
A Holt
c7854d760d
Update named.yml 2018-10-31 14:12:08 -04:00
A Holt
858306b547
Update named.yml 2018-10-31 14:02:37 -04:00
A Holt
7c79fed0ae
Update squid.yml 2018-10-31 13:51:10 -04:00
A Holt
f8b28cfc6d
Update enable_services.yml 2018-10-31 03:58:55 -04:00
A Holt
b3adcfff6e
Update dansguardian.yml 2018-10-30 20:53:32 -04:00
A Holt
ca15a70c00
Update squid.yml 2018-10-30 20:51:21 -04:00
A Holt
5e956b9203
Update dansguardian.yml 2018-10-28 12:19:01 -04:00
A Holt
b6e842f38b
Update squid.yml 2018-10-28 12:09:55 -04:00
A Holt
1b1744c2b5
Update named.yml 2018-10-28 12:07:44 -04:00
A Holt
d37c0acc88
Update captive_portal.yml 2018-10-27 20:54: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
root
d9c73cc804 service_filelist -> iiab_ini_file 2018-10-15 06:13:57 -04:00
A Holt
a0d62e87fb
Update detected_network.yml 2018-10-15 04:54:01 -04:00
A Holt
ad247eb8b4
Update computed_services.yml 2018-10-15 04:53:40 -04:00
A Holt
89cf8be11d
Update computed_network.yml 2018-10-15 04:53:20 -04:00
A Holt
15df488fce
Update rpi_debian.yml 2018-10-09 17:21:25 -04:00
A Holt
eaf81d0d6b
Update computed_services.yml 2018-10-09 16:52:20 -04:00
Jerry Vonau
9d616cf301 explicitly identify which primary dhcp server is being disabled
dhcp_service2 is used in restart.yml when not in Appliance mode
2018-10-09 12:20:03 -05:00
Jerry Vonau
bb6b3c2ab2 Explicitly disable dnsmasq when in Appliance mode
otherwise dnsmasq will become active upon reboot because enable_services.yml
would still be acting upon local_vars.yml where dnsmasq_enabled is set to True
while there is not LAN interface available to bind the service to.
2018-10-09 11:50:00 -05:00
A Holt
ababc0cba7
Update hosts.yml 2018-10-08 19:34:04 -04:00
A Holt
2f3fb69e01
Merge branch 'master' into dnsmasq-initial-cleanup 2018-10-08 19:32:08 -04:00
A Holt
691fb23f83
Update avahi.yml 2018-10-08 19:14:10 -04:00
A Holt
b96b6f42ac
Update main.yml 2018-10-08 19:03:26 -04:00
A Holt
aa1c8287d5
Update edit_ifcfg.yml 2018-10-08 19:00:25 -04:00
A Holt
30c4f2a868
Update enable_wan.yml 2018-10-08 18:55:09 -04:00
A Holt
c6e6f7967c
Update hosts.yml 2018-10-08 18:49:04 -04:00
A Holt
27e04ebe0e
Update named.yml 2018-10-08 18:40:11 -04:00
A Holt
e94077fc3d
Update redetect.yml 2018-10-08 18:34:16 -04:00
A Holt
20988fda38
Update squid.yml 2018-10-08 18:30:21 -04:00
A Holt
73a2ce03da
Update static.yml 2018-10-08 18:29:15 -04:00
A Holt
d81a6788a6
Update wondershaper.yml 2018-10-08 18:24:17 -04:00
A Holt
0d0ef2fd39
Update NM.yml 2018-10-08 18:15:50 -04:00
A Holt
62e1a07e53
Update avahi.yml 2018-10-08 18:09:49 -04:00
A Holt
31388eee9d
Rename create_ifcfg.yml to create_ifcfg.yml.deprecated 2018-10-08 18:00:22 -04:00
A Holt
2004e621e9
Update detected_network.yml 2018-10-08 17:58:38 -04:00
A Holt
535dca7fca
Update detected_redhat.yml 2018-10-08 17:52:40 -04:00
A Holt
4986aef070
Update detected_redhat.yml 2018-10-08 17:51:15 -04:00
A Holt
394a308d72
Update dhcpd.yml 2018-10-08 17:44:35 -04:00
A Holt
c32fc5c7d6
Update dhcpd.yml 2018-10-08 17:13:03 -04:00
A Holt
5bf67f847c
Update computed_services.yml 2018-10-08 17:05:44 -04:00
A Holt
5b129ec79b
Update computed_network.yml 2018-10-08 17:04:00 -04:00
A Holt
30550052f1
Update computed_services.yml 2018-10-08 15:51:21 -04:00
A Holt
6645cc284e
Update hosts.yml 2018-10-03 18:20:00 -04:00
A Holt
9cbf08cf8f
Update captive_portal.yml 2018-10-03 16:14:15 -04:00
A Holt
a6b0bceef8
Update captive_portal.yml 2018-10-03 15:57:07 -04:00
A Holt
d41abbbbc3
Update hosts.yml 2018-10-03 14:52:04 -04:00
George Hunt
ac6c854646 change name of service, and test 2018-10-03 16:47:22 +00: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
e26aa688c7 with_items 2018-10-01 18:52:00 +00:00
George Hunt
18d2315438 service->systemd 2018-10-01 18:27:54 +00:00
George Hunt
c91cb6cd32 no change to hosts 2018-10-01 18:18:36 +00:00
George Hunt
f91c67ad58 fix dual when 2018-10-01 18:16:51 +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
d97f62edf9
Update main.yml 2018-08-21 12:45:38 -04:00
A Holt
b3a7af09c5
Update named.yml 2018-07-20 05:16:57 -04:00
A Holt
1d128593ee
Update debian.yml 2018-07-17 02:01:01 -04:00
A Holt
5161152432
Update debian.yml 2018-07-17 01:57:12 -04:00
A Holt
b3dbf16a27
Update ifcfg_mods.yml 2018-07-17 01:56:14 -04:00
A Holt
0247ee1930
Update debian.yml 2018-07-17 01:54:14 -04:00
A Holt
74dca68882
Update down-debian.yml 2018-07-17 01:49:14 -04:00
A Holt
7790fd6624
Update ifcfg_mods.yml 2018-07-17 01:48:19 -04:00
A Holt
44c1c0293a
Update restart.yml 2018-07-17 01:41:51 -04:00
A Holt
eb1f6a5dcc
Update enable_services.yml 2018-07-12 14:04:52 -04:00
A Holt
281e0de791
Update enable_services.yml 2018-07-12 13:51:59 -04:00
A Holt
1337b651ac
modern Ansible syntax/style for readability 2018-07-12 13:50:32 -04:00
A Holt
d9398e39a7
modern Ansible syntax/style for readability 2018-07-12 13:36:44 -04:00
Jerry Vonau
cc09adb677 replace named-iiab.conf to pickup changes in dns_jail_enabled 2018-07-04 09:29:05 -05:00