mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
gui_wan -> ports_externally_visible >= 2 in avahi.yml
This commit is contained in:
parent
ec9834f7d7
commit
669dcf7a6e
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@
|
||||||
owner: avahi
|
owner: avahi
|
||||||
group: avahi
|
group: avahi
|
||||||
mode: 0640
|
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)
|
- name: Find avahi_ver for clean copy of ssh.service (not debuntu)
|
||||||
shell: "ls /usr/share/doc/ | grep avahi | head -n1"
|
shell: "ls /usr/share/doc/ | grep avahi | head -n1"
|
||||||
|
|
Loading…
Reference in a new issue