1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_avahi_client.git synced 2024-08-16 16:09:49 +02:00
ansible_role_avahi_client/README.md

25 lines
1.3 KiB
Markdown
Raw Normal View History

2021-09-02 03:22:44 +02:00
[![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)
2021-09-02 02:02:53 +02:00
ansible role avahi_client
===========================
2021-09-02 02:50:51 +02:00
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``.
2021-09-02 03:22:44 +02:00
If you want only IPv4 or IPv6 names resolved, change ``mdns`` to ``mdns4`` or ``mdns6`` in these variables:
```yaml
avahi__mdns_name: 'mdns'
avahi__mdns_minimal_name: 'mdns_minimal'
```
2021-09-02 02:50:51 +02:00
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)
2021-09-02 03:22:44 +02:00
+ nss-mdns [0pointer.de](https://0pointer.de/lennart/projects/nss-mdns/#documentation)