diff --git a/.github/galaxy.svg b/.github/galaxy.svg index 7f868c1..32550c2 100644 --- a/.github/galaxy.svg +++ b/.github/galaxy.svg @@ -1,59 +1,95 @@ - + - + - + - + - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - do1jlr.role_name - do1jlr.role_name + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.github/.galaxy.yml b/.github/workflows/galaxy.yml similarity index 100% rename from .github/.galaxy.yml rename to .github/workflows/galaxy.yml diff --git a/README.md b/README.md index dbead40..d9f6bb3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ -# ansible_role_template -Template for Ansible roles +[![Galaxy](https://github.com/roles-ansible/ansible_role_avahi_daemon/raw/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/avahi_daemon) +[![License](https://github.com/roles-ansible/ansible_role_avahi_daemon/raw/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_avahi_daemon/blob/main/LICENSE) -Netfilter rules + ansible role avahi_daemon +=========================== +Ansible role to install the avahi_daemon and optionally announce some services. + + Netfilter rules --------------- - +Avahi is using multicast to announce services. Do not forget to add netfilter rules for multicast dns. Configuration example for `ferm`: @@ -14,13 +18,14 @@ daddr 224.0.0.251 proto udp dport 5353 ACCEPT; daddr ff02::fb proto udp dport 5353 ACCEPT; ``` - Links ----- * http://dns-sd.org/ * http://www.multicastdns.org/ +* https://kodi.wiki/view/Avahi_Zeroconf#Sample_service_configurations + * https://www.avahi.org/ * https://github.com/lathiat/avahi diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..614c943 --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,21 @@ +--- +galaxy_info: + role_name: avahi_daemon + author: do1jlr + description: Install avahi and optionally announce avahi services + license: "MIT" + min_ansible_version: 2.11 + github_branch: main + platforms: + - name: Archlinux + versions: all + - name: Debian + versions: all + - name: Ubuntu + versions: all + galaxy_tags: + - avahi + - daemon + - avahi_daemon + - mdns +dependencies: []