An Ansible role to install and configure Avahi.
Avahi is a service discovery technology for Linux using mDNS/DNS-SD. It is compatible to Apple Bonjour and makes it easy to discover local hosts in a small network scenario.
The Ansible role install Avahi and starts the daemon. If firewalld is installed, it will also allow mDNS traffic to path through.
We are really happy, that you consider using our software. In case you want to install and run the code on your machine, please check out this section.
The role supports the following target Operating System:
- Fedora Linux 35+
- CentOS Stream 8+
- AlmaLinux 8+
- RockyLinux 8+
This Ansible role is part of the collection whiletruedoio.general.
You need to install the collection to install the role.
# Install collection
$ ansible-galaxy install whiletruedoio.general
Below you can find some simple examples and specs for the role.
This Ansible Role can be controlled with argmunents (options and variables), as described in the below files.
- meta/argument_specs.yml provides the argument specification
- defaults/main.yml provides all defaults for the role
- meta/main.yml provides some meta information, like automated dependencies
Install and enable Avahi with the system defaults.
---
- name: "Simple Example"
hosts: "all"
tasks:
- name: "Import avahi Role"
ansible.builtin.import_role:
name: "whiletruedoio.general.avahi"
...
Please feel free to reach out to us and the community. We also recommend to read and understand the Code of Conduct beforehand.
- Site: https://while-true-do.io
- Blog: https://blog.while-true-do.io
- Code: https://github.com/whiletruedoio
- Chat: libera.chat #whiletruedoio
- Mail: [email protected]