add xorg autoconfiguration, install some config files for vdr, update nfs- and avahi configuration
This commit is contained in:
11
roles/nfs-server/avahi/service.j2
Normal file
11
roles/nfs-server/avahi/service.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">{{ item.value|capitalize }} on %h</name> ## Name
|
||||
<service>
|
||||
<type>_nfs._tcp</type>
|
||||
<port>2049</port>
|
||||
<txt-record>path={{ item.value }}</txt-record> ## path to shared Folder
|
||||
<txt-record>subtype={% 'vdr' if item == 'recordings' else item %}</txt-record> ## subtype
|
||||
</service>
|
||||
</service-group>
|
11
roles/nfs-server/templates/avahi/service.j2
Normal file
11
roles/nfs-server/templates/avahi/service.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">{{ item.key|capitalize }} on %h</name> ## Name
|
||||
<service>
|
||||
<type>_nfs._tcp</type>
|
||||
<port>2049</port>
|
||||
<txt-record>path={{ item.value }}</txt-record> ## path to shared Folder
|
||||
<txt-record>subtype={{ 'vdr' if item.key == 'recordings' else item.key }}</txt-record> ## subtype
|
||||
</service>
|
||||
</service-group>
|
Reference in New Issue
Block a user