Install and setup avahi-daemon.
avahi_default_conf_path
(default "/etc/default/avahi-daemon"): Path to daemons's defaults
avahi_conf_path
(default "/etc/avahi/avahi-daemon.conf"): Path to avahi-daemon.conf
avahi_hosts_path
(default "/etc/avahi/hosts"): Path to avahi hosts
avahi_default_conf
(default []): Conf defaults for daemon
avahi_conf
(default []): Main conf. It supports subkeys: server
, wide-area
, publish
, reflector
and rlimits
. See https://linux.die.net/man/5/avahi-daemon.conf
avahi_hosts
(default []): Hosts conf. See https://linux.die.net/man/5/avahi.hosts
Avahi-daemon's default (Ubuntu's) configuration:
- hosts: servers
roles:
- a0s.avahi
vars:
avahi_default_conf:
- |
AVAHI_DAEMON_DETECT_LOCAL=1
avahi_conf:
server:
- |
use-ipv4=yes
use-ipv6=yes
ratelimit-interval-usec=1000000
ratelimit-burst=1000
wide-area:
- |
enable-wide-area=yes
publish:
- |
publish-hinfo=no
publish-workstation=no
MIT