1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

also clarify "ports_externally_visible: 2" means http-or-https in avahi.yml

This commit is contained in:
A Holt 2019-05-19 14:04:14 -04:00 committed by GitHub
parent 20dacbb8fa
commit c74053ef52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,11 @@
mode: 0640
#when: 'gui_wan == True'
when: ports_externally_visible|int >= 2
# Where "2" means "ssh + Admin Console"
# SEE: https://github.com/iiab/iiab/blob/master/roles/network/templates/gateway/iiab-gen-iptables#L52-L69
# Where "2" means "ssh + http-or-https (for Admin Console's box.lan/admin too)"
# SEE ~18 line explanation in box near:
# https://github.com/iiab/iiab/blob/master/roles/network/templates/gateway/iiab-gen-iptables#L52-L69
# FOR NOW, $gui_port is used to open Admin Console port (http-or-https) here:
# https://github.com/iiab/iiab/blob/master/roles/network/templates/gateway/iiab-gen-iptables#L139-L145
- name: Find avahi_ver for clean copy of ssh.service (not debuntu)
shell: "ls /usr/share/doc/ | grep avahi | head -n1"