Skip to content

a0s/ansible-role-avahi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Ansible Galaxy

avahi-daemon

Install and setup avahi-daemon.

Role Variables

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

Example Playbook

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      

License

MIT

About

Ansible role for avahi-daemon

Topics

Resources

License

Stars

Watchers

Forks