1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_avahi_daemon.git synced 2024-08-16 15:09:48 +02:00
ansible_role_avahi_daemon/templates/avahi.service.j2
2021-09-02 00:24:53 +02:00

12 lines
383 B
Django/Jinja

<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">{{ item.service | upper }} server at %h</name>
<service>
<type>_{{ item.service | lower }}._tcp</type>
<port>{{ item.port | string }}</port>
{% if item.extra is defined %}
{{ item.extra }}
{% endif %}
</service>
</service-group>