mirror of
https://github.com/roles-ansible/ansible_role_avahi_daemon.git
synced 2024-08-16 15:09:48 +02:00
update vriable names
This commit is contained in:
parent
2bf6faadae
commit
e396f733a7
8 changed files with 20 additions and 17 deletions
19
README.md
19
README.md
|
@ -7,7 +7,7 @@ Ansible role to install the avahi_daemon and optionally announce some services.
|
|||
|
||||
Variables
|
||||
-----------
|
||||
In the ``avahi_services`` variable you can define the services you want to announce.
|
||||
In the ``avahi_daemon__services`` variable you can define the services you want to announce.
|
||||
Here is a list with available parameters:
|
||||
+ ``service``: Service Name *(HTTP/SSH/...)* ***(required)***
|
||||
+ ``port``: Service Port ***(required)***
|
||||
|
@ -20,7 +20,7 @@ Here is a list with available parameters:
|
|||
Example:
|
||||
```yaml
|
||||
---
|
||||
avahi_services:
|
||||
avahi_daemon__services:
|
||||
- service: 'SSH'
|
||||
port: 22
|
||||
protocol: 'any'
|
||||
|
@ -55,13 +55,14 @@ 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
|
||||
|
||||
* https://www.ietf.org/rfc/rfc6762.txt
|
||||
* http://www.dns-sd.org/ServiceTypes.html
|
||||
|
||||
- https://www.avahi.org/
|
||||
- https://github.com/lathiat/avahi
|
||||
|
||||
+ https://github.com/lathiat/avahi/blob/master/avahi-daemon/avahi-service.dtd
|
||||
|
||||
* https://github.com/lathiat/nss-mdns
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
avahi_services:
|
||||
avahi_daemon__services:
|
||||
- service: 'SSH'
|
||||
port: 22
|
||||
protocol: 'any'
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
mode: 'u=rw,g=r,o=r'
|
||||
notify:
|
||||
- systemctl restart avahi-daemon.service
|
||||
with_items: "{{ avahi_services }}"
|
||||
with_items: "{{ avahi_daemon__services }}"
|
||||
|
|
|
@ -10,5 +10,5 @@
|
|||
- name: install avahi packages
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name: "{{ avahi_packages }}"
|
||||
name: "{{ avahi_daemon__packages }}"
|
||||
state: present
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
avahi_packages:
|
||||
avahi_daemon__packages:
|
||||
- avahi
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
avahi_packages:
|
||||
avahi_daemon__packages:
|
||||
- 'avahi-daemon'
|
||||
- 'avahi-utils'
|
||||
- 'avahi-discover'
|
||||
- 'avahi-utils'
|
||||
- 'libnss-mdns'
|
||||
# - 'mdns-scan'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
# versionscheck
|
||||
playbook_version_number: 7
|
||||
playbook_version_number: 8
|
||||
playbook_version_path: 'do1jlr.avahi_daemon.version'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
avahi_packages:
|
||||
avahi_daemon__packages:
|
||||
- avahi
|
||||
|
|
Loading…
Reference in a new issue