Add template for svdrphosts.conf

you can define additional hosts or subnets (default is to allow access
from localhost) in svdrphosts.conf by
creating a list variable vdr_svdrphosts - e.g. in host_vars/localhost
or in group_vars/all:

vdr_svdrphosts:
   - 192.168.0.0/24

also cleanup some of the structure in Manual.org and update Manual.html
This commit is contained in:
Alexander Grothe
2019-03-24 11:28:16 +01:00
parent 8dbbfcc0c7
commit 62473292fc
5 changed files with 867 additions and 746 deletions

View File

@@ -94,6 +94,14 @@
mode: 0644
force: no
when: vdr_channels_conf is not defined and vdr_channels_conf_url is defined
- name: "vdr configuration | svdrphosts.conf"
template:
src: templates/svdrphosts.conf.j2
dest: '{{ vdr.confdir }}/svdrphosts.conf'
owner: '{{ vdr.user }}'
group: '{{ vdr.group }}'
mode: 0644
- name: create directory for vdr.service systemd drop-in files
file:
dest: '{{ item }}'