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 462c01b..9b5145b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ ansible role avahi_client =========================== -Ansible role to resolve the .local domain via mdns and discover avahi services. +Avahi provides local hostname resolution using a "hostname.local" naming scheme. +This ansible role installs the required dependencies and configures the DNS resolver accordingly. + +You can opt-out from deploying a new ``/etc/nsswitch.conf`` config by setting ``avahi__configure_nsswitch`` to ``false``. + +You can opt-in in a simple versionscheck that can prevent you from running a older version of this role by setting ``submodules_versioncheck`` to ``true``. + + Learn more +------------ ++ [/etc/nsswitch.conf](https://man7.org/linux/man-pages/man5/nsswitch.conf.5.html) ++ Avahi [wiki.archlinux.org](https://wiki.archlinux.org/title/Avahi) diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..daa5038 --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,22 @@ +--- +galaxy_info: + role_name: avahi_client + author: do1jlr + description: Avahi provides local hostname resolution using a "hostname.local" naming scheme. + 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 + - client + - local + - mdns + - bonjour +dependencies: [] diff --git a/vars/main.yml b/vars/main.yml index c463502..e0a70b8 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,4 +1,4 @@ --- # versionscheck -playbook_version_number: 4 +playbook_version_number: 5 playbook_version_path: 'do1jlr.avahi_client.version'