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

gui_wan -> ports_externally_visible >= 2 in avahi.yml

This commit is contained in:
A Holt 2019-05-19 05:45:16 -04:00 committed by GitHub
parent ec9834f7d7
commit 669dcf7a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,10 @@
owner: avahi
group: avahi
mode: 0640
when: 'gui_wan == True'
#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#L48-L65
- name: Find avahi_ver for clean copy of ssh.service (not debuntu)
shell: "ls /usr/share/doc/ | grep avahi | head -n1"