From 85fb98ad9b169dfc9674013b75c97be142ec31d4 Mon Sep 17 00:00:00 2001 From: L3D Date: Wed, 26 Apr 2023 01:28:39 +0200 Subject: [PATCH] Changing Icons and mention the l3d.avahi collection --- .github/galaxy.svg | 97 -------------------- .github/license.svg | 217 -------------------------------------------- README.md | 34 ++++++- meta/main.yml | 2 +- vars/main.yml | 2 +- 5 files changed, 31 insertions(+), 321 deletions(-) delete mode 100644 .github/galaxy.svg delete mode 100644 .github/license.svg diff --git a/.github/galaxy.svg b/.github/galaxy.svg deleted file mode 100644 index 41bf605..0000000 --- a/.github/galaxy.svg +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/license.svg b/.github/license.svg deleted file mode 100644 index 4ab6d9a..0000000 --- a/.github/license.svg +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - image/svg+xml - - - - - - 3D <l3d@c3woc.de> - - - - - MIT License - - - - - - - - - - - - - - - - - - - - - - - - - - - MIT - MIT - - - license - license - - diff --git a/README.md b/README.md index 69cbfe4..2789bed 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ -[![Galaxy](https://github.com/roles-ansible/ansible_role_avahi_client/raw/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/avahi_client) -[![License](https://github.com/roles-ansible/ansible_role_avahi_client/raw/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_avahi_client/blob/main/LICENSE) +[![Ansible Galaxy](https://ansible.l3d.space/svg/l3d.avahi_client.svg)](https://galaxy.ansible.com/l3d/avahi_client) +[![MIT License](https://ansible.l3d.space/svg/l3d.avahi_client_license.svg)](LICENSE) +[![Maintainance](https://ansible.l3d.space/svg/l3d.avahi_client_maintainance.svg)](https://ansible.l3d.space/#l3d.avahi_client) ansible role avahi_client =========================== -Avahi provides local hostname resolution using a "hostname.local" naming scheme. +Avahi provides local hostname resolution using the ``.local`` MDNS Domain. 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_client__configure_nsswitch`` to ``false``. @@ -12,7 +13,7 @@ You can opt-out from deploying a new ``/etc/nsswitch.conf`` config by setting `` 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``. -Configuring nsswitch + Configuring nsswitch -------------------- If you want only IPv4 or IPv6 names resolved, change ``mdns`` to ``mdns4`` or ``mdns6`` in these variables: @@ -29,7 +30,30 @@ From the documentation of [nss-mdns](https://github.com/lathiat/nss-mdns) > Combining the `_minimal` and the normal NSS modules allows us to make mDNS authoritative for Zeroconf host names and addresses and use it as fallback for everything else. -Learn more + Ansible Collection +-------------------- +This role is part of the ``l3d.avahi`` Ansible Collection. + +[![collection l3d.avahi](https://ansible.l3d.space/svg/l3d.avahi_ansible-collection_collection.svg)](https://galaxy.ansible.com/l3d/avahi) +[![Maintainance](https://ansible.l3d.space/svg/l3d.avahi_maintainance_collection.svg)](https://ansible.l3d.space/#l3d.avahi) +[![License](https://ansible.l3d.space/svg/l3d.avahi_license_collection.svg)](LICENSE) + +Visit the [README.md](https://github.com/roles-ansible/ansible_collection_avahi#readme) of the l3d.avahi collection for information about downloading or integrating the collection to your ansible playbook. + +### Role Usage Example: +```bash +# ansible-galaxy install l3d.avahi_client + +- name: "Let your System use MDNS to resolve .local addresses" + hosts: localhost + roles: + - {role: l3d.avahi_client, tags: avahi} + vars: + # Enable optional Versioncheck. + submodules_versioncheck: true +``` + + Learn more ---------- * DNS-SD [http://dns-sd.org/](http://dns-sd.org/) diff --git a/meta/main.yml b/meta/main.yml index 73496b0..5d83cfd 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,7 @@ --- galaxy_info: role_name: avahi_client - author: do1jlr + author: l3d description: Avahi provides local hostname resolution using the ".local" MDNS Domain. license: "MIT" min_ansible_version: "2.12" diff --git a/vars/main.yml b/vars/main.yml index 08f78ab..428a967 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 8 +playbook_version_number: 9 playbook_version_path: 'do1jlr.avahi_client.version'