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:
@@ -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 }}'
|
||||
|
||||
Reference in New Issue
Block a user