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

251 commits

Author SHA1 Message Date
A Holt
ebd2f3ac61
manually_toggle_AP: True -> hostapd_enabled: False 2018-01-01 11:04:30 -05:00
A Holt
f6e3d6830b
manually_toggle_AP: True -> hostapd_enabled: False 2018-01-01 11:03:29 -05:00
A Holt
4272185a88
manually_toggle_AP: True -> hostapd_enabled: False 2018-01-01 10:58:46 -05:00
A Holt
25161b558d
manually_toggle_AP: false -> hostapd_enabled: True 2018-01-01 10:50:47 -05:00
A Holt
3d5d5ac039
Avoid restarting hostapd if manually_toggle_AP 2017-12-29 01:19:06 -05:00
A Holt
4dc6643d47
Avoid restarting hostapd unless nec 2017-12-29 01:08:01 -05:00
A Holt
44675f659a
"no_net_restart: True" to prevent WiFi flakiness? 2017-12-29 01:03:02 -05:00
A Holt
7986d5b28a
Clarify IIAB_LAN|WAN_DEVICE saved to /etc/iiab/iiab.env 2017-12-28 22:11:37 -05:00
A Holt
82862c4dd0
"when: not installing" redundant...comment or remove!? 2017-12-28 22:01:01 -05:00
A Holt
a2ab1b79cc
Clarif: manually_toggle_AP used in hostapd.yml & rpi_debian.yml 2017-12-28 19:39:29 -05:00
A Holt
5261301482
Clarify hostapd service is being restarted 2017-12-28 19:12:36 -05:00
A Holt
2ba4737aba
hostapd.yml: enable/restart svc if manually_toggle_AP is false 2017-12-28 19:08:13 -05:00
A Holt
c412f02f70
Enable manually_toggle_AP when WiFi is primary gateway 2017-12-28 18:57:22 -05:00
A Holt
cbc8ec3f44
Clarify output of roles/network/tasks/hostapd.yml 2017-12-28 17:13:22 -05:00
A Holt
6a632bffc7
Typos discovered_*_lan_iface -> iiab_*_lan_iface 2017-12-28 14:26:56 -05:00
A Holt
4f250ac5f2
clarify "RPi - don't reboot to AP post install - installed via wifi" 2017-12-28 10:01:46 -05:00
A Holt
4f9be5eba0
Update squid.yml 2017-12-08 06:18:55 -05:00
A Holt
46470e75bf
Update squid.yml 2017-12-08 06:08:14 -05:00
A Holt
2a4b5fdb21
Update squid.yml 2017-12-08 06:04:39 -05:00
A Holt
ca6e9741cb
Update squid.yml 2017-12-08 06:01:33 -05:00
A Holt
a7245aa0e0
Update dansguardian.yml 2017-12-08 05:51:38 -05:00
A Holt
2063b77fb4
Update squid.yml 2017-12-08 05:47:21 -05:00
Jerry Vonau
fb331c7e09 always restart dns server 2017-12-07 12:43:41 -06:00
A Holt
3a729396f0
Merge pull request #554 from jvonau/U17-2
U17-2: refine network for Ubuntu 18.04 LTS daily builds
2017-12-07 12:46:34 -05:00
A Holt
2df3afbc78
"reboot_to_AP: False" (today for RPi only) was being ignored 2017-12-04 18:18:07 -05:00
A Holt
0b3a5eab5d
Merge pull request #584 from jvonau/upgrades
guard against losing dns lookups when the machine has alreay been con…

closes #581
2017-12-04 11:53:19 -05:00
Jerry Vonau
4c18f746dc guard against losing dns lookups when the machine has alreay been configured in which /etc/resolv.conf would contain 127.0.0.1 as the nameserver address with resolvconf in action and /etc/iiab/iiab.env absent 2017-11-25 11:57:55 -06:00
Jerry Vonau
bd5684cd10 dhcpd contol for iiab-hotspot-on|off 2017-11-24 13:05:43 -06:00
Jerry Vonau
29104b9f75 add install time option for control of AP upon reboot 2017-11-24 13:01:18 -06:00
Jerry Vonau
117a3f513b cleanup 2017-11-24 11:04:37 -06:00
Jerry Vonau
ac738458f0 use results to set_facts 2017-11-24 11:04:37 -06:00
Jerry Vonau
1775c77265 name the tasks 2017-11-24 11:04:37 -06:00
Jerry Vonau
e83d65ea7b record new facts 2017-11-24 11:04:36 -06:00
Jerry Vonau
7e4ff797e5 hand merge of systemd-net with a rename 2 2017-11-24 11:04:36 -06:00
Jerry Vonau
095bf1acdc use down more 2017-11-24 11:04:36 -06:00
Jerry Vonau
e1e9108ac4 NM support 2017-11-24 11:04:36 -06:00
Jerry Vonau
e762dd3d8d rpi_debian.yml 2017-11-24 11:04:36 -06:00
Jerry Vonau
f1f2ffa275 go with keyfile 2017-11-22 18:01:04 -06:00
Jerry Vonau
f73585aea1 keyfile layout 2017-11-22 17:20:46 -06:00
Jerry Vonau
f8d7c1ddad add not wan_in_interfaces check before cobbering /etc/network/interfaces 2017-11-22 14:01:40 -06:00
Jerry Vonau
b9d97bce4f provide NetworkManager.conf - and move prior to daemon-reload 2017-11-22 13:57:48 -06:00
Jerry Vonau
3510641b41 has_NM use /etc/network/interfaces, need to toggle "manged" in NetworkManager.conf
Alternative keyfile option is possible just like the XO days.
http://manpages.ubuntu.com/manpages/zesty/man5/NetworkManager.conf.5.html
2017-11-22 10:34:58 -06:00
Jerry Vonau
47328e6ab5 don't use /etc/network/interfaces.d/iiab 2017-11-22 10:21:18 -06:00
Jerry Vonau
9204c4caf5 single interface - strings need to be quoted, add stdout_lines 2017-11-22 09:58:13 -06:00
Jerry Vonau
20398be41a partial 831e189795bf37d6c785a657a882556c3d649294 2017-11-20 11:20:20 -06:00
Jerry Vonau
30ee7a2449 iiab-hotspot-on|off 2017-11-20 11:20:20 -06:00
Jerry Vonau
65214d84f2 hostapd default on 2017-11-20 11:20:20 -06:00
Jerry Vonau
3c2090424b hostapd in enable_services.yml 2017-11-20 11:20:20 -06:00
Jerry Vonau
fa3512f2b1 alter wifi list to include gateway 2017-11-20 11:17:16 -06:00
Jerry Vonau
a6d63e66d2 use {{}} and iiab_lan_iface 2017-11-20 11:17:16 -06:00
Jerry Vonau
e9aae150f4 rpi test 3 wifi flip on reboot 2017-11-20 11:17:16 -06:00
Jerry Vonau
f3bcabe498 rpi test 2 supply template for hostapd 2017-11-20 11:17:16 -06:00
Jerry Vonau
450c04697d dnsmasq.conf based on George's template
https://raw.githubusercontent.com/georgejhunt/iiab/37e9c4cdbe55709cb306862f4d3324449ec011d5/roles/network/templates/network/dnsmasq.conf
2017-11-20 11:17:16 -06:00
Jerry Vonau
73fd3959b2 4- not network, better logging, and adjust tags network- FQDN 2017-11-20 11:15:20 -06:00
Jerry Vonau
0143cea2dd dhcpd move stock disable 2017-11-19 20:34:19 -06:00
Jerry Vonau
4416cf5e55 make that a 2 min timeout for squid 2017-11-18 22:18:48 -06:00
Jerry Vonau
f469a44dee network - disable is_redhat specific detection 2017-11-18 22:18:47 -06:00
Jerry Vonau
4cc6da39fb blacklist_wifi -> reserved_wifi as a better discription of the use case
Document option for use in local_vars - used with BM's U17 install
2017-11-15 20:46:19 -06:00
A Holt
6e48d41d60
Merge pull request #516 from holta/master
bringing all pkg descriptions into same format, for /etc/iiab/iiab.ini
2017-11-13 14:47:07 -05:00
A Holt
1f8551e226
bringing all pkg descriptions into same format 2017-11-13 14:25:06 -05:00
A Holt
3597896d71
Merge pull request #510 from jvonau/U17
U17: Ubuntu 17.10 preparations
2017-11-13 12:35:16 -05:00
Jerry Vonau
405607c845 DG path - iiab_lan_iface tweeks 2017-11-13 09:59:14 -06:00
Jerry Vonau
db2827a0ed removed unused templates & touchups 2017-11-13 09:59:14 -06:00
Jerry Vonau
5e38b47d04 move proxy install option to 4-common 2017-11-13 09:59:13 -06:00
Jerry Vonau
8a2c560f5b Squid on the fly, loses some speed thou 2017-11-13 09:59:13 -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
f810e91322 stopping named after install but during upgrades is a bad idea 2017-11-13 09:56:46 -06:00
Jerry Vonau
7b5de542cf don't run lan_list_result when 'Count LAN ifaces' is zero to quite
down noisy log when detecting single interface
2017-11-13 09:56:46 -06:00
Jerry Vonau
95409fdfff move dhcpcd detection to local_facts to clean up logging 2017-11-12 19:30:59 -06:00
A Holt
2a1b18d8ad
typos/tweaks in detected_network.yml 2017-11-10 11:39:20 -05:00
A Holt
340f425456
roles/network/tasks/debian.yml output tweaks 2017-11-10 11:33:19 -05:00
Jerry Vonau
41033ba949 br0 - single interface mis-detection 2017-11-09 12:21:57 -06:00
A Holt
fc7bdc0009
using 'debuntu' in Ansible output 2017-11-08 04:41:16 -05:00
A Holt
4585445e80
Capitalize 1st word of ansible outputs 2017-11-08 02:00:07 -05:00
A Holt
60d8afaab8
spelling typos cleaned 2017-11-08 01:58:26 -05:00
A Holt
901aad5e0f
dansguardian -> DansGuardian 2017-11-08 01:55:04 -05:00
A Holt
6173e59b1d
clarif: 'hostapd' service 2017-11-08 01:53:19 -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
991f1e87b8 wondershaper.yml 2017-11-06 20:15:51 -06:00
Jerry Vonau
ccdb5cd2fb restart.yml - wifi bridge slave touchup 2017-11-06 20:15:51 -06:00
Jerry Vonau
3df58f1d00 network - remove unused installing.yml file 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
a32f81922e set hostname alias early 2017-11-06 15:34:28 -06:00
Jerry Vonau
35cd2b44a5 iiab_wireless_lan_iface is defined for machines without wifi 2017-11-06 15:34:28 -06:00
Jerry Vonau
78a9434122 restore bridging for RPi and make optional 2017-11-06 15:34:28 -06:00
Jerry Vonau
a9926e6700 adjust for 'is defined' and order 2017-11-06 15:34:27 -06:00
Jerry Vonau
e74838b8b2 test disabling include_vars and moving computed_vars.yml in main.yml
looking at "installing" as defined in roles/0-init/defaults/main.yml
and first use in named.yml: Stop named before copying files where the install
aborts when not defined
2017-11-06 15:34:27 -06:00
Jerry Vonau
f3fa1d21e9 move squid stop before DG 2017-11-06 15:34:27 -06:00
Jerry Vonau
df08c29cfd Ubuntu - skip restart with DG enabled during install 2017-11-06 15:34:27 -06:00
Jerry Vonau
4a6db98f5b Ubuntu - bigger hammer to stop squid on ubuntu with DG enabled 2017-11-06 15:34:27 -06:00
Jerry Vonau
836747908d Ubuntu - stop squid before replacing the stock config files otherwise stock service does not stop with replacement files already in place 2017-11-06 15:34:27 -06:00
Jerry Vonau
f5f3e17583 stop named after install 2017-11-06 15:34:27 -06:00
Jerry Vonau
259c03fbcb better squid <-> dansguardian switchover when enabling/disabling services due to port 3128 usage 2017-11-06 15:34:27 -06:00
Jerry Vonau
9bd493b0c5 discovered_lan_iface -> discovered_wired_iface 2017-11-06 15:34:27 -06:00
Jerry Vonau
47dd40bd26 CentOS - numbers should not have quotes & no config file needed.
Might need to enable resolveconf to have the correct nameserver used
-needs further testing to confirm testing
2017-11-06 15:34:27 -06:00
Jerry Vonau
18d66e47f4 numbers should not have quotes 2017-11-06 15:34:27 -06:00
Jerry Vonau
26aa57537f stop squid after install 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