add some empty lines

This commit is contained in:
Alexander Grothe
2017-07-28 15:07:32 +02:00
parent 373f44e6aa
commit 0f9caa6605
16 changed files with 36 additions and 0 deletions

View File

@@ -77,6 +77,7 @@
follow symlinks= yes
wide links= yes
{% endif %}
{% for name, path in media_dirs.iteritems() %}
[{{ name }}]
path = {{ path }}
@@ -92,4 +93,5 @@
wide links = yes
{% endfor %}
include = /etc/samba/smb.conf.custom

View File

@@ -1,3 +1,4 @@
foo:
- bar
- baz

View File

@@ -10,6 +10,7 @@
- vdr
- vdrctl
- vdr-plugin-dbus2vdr
- name: add svdrp and svdrp-disc to /etc/services
lineinfile:
dest: /etc/services
@@ -18,6 +19,7 @@
with_items:
- "svdrp 6419/tcp"
- "svdrp-disc 6419/udp"
- name: create vdr recdir
file:
state: directory
@@ -47,6 +49,7 @@
vdr.hide_first_recording_level
# TODO: set recdir, user etc. in /etc/vdr/conf.d/
- name: apt | install additional vdr plugins
apt:
name: '{{ item }}'
@@ -55,6 +58,7 @@
with_items:
'{{ vdr_plugins | default({}) }}'
notify: [ 'Restart VDR' ]
- name: ensure vdr is stopped
systemd:
name: vdr.service

View File

@@ -1,6 +1,7 @@
---
# file: roles/yavdr-common/defaults/main.yml
branch: unstable
repositories:
- 'ppa:yavdr/main'
@@ -8,13 +9,16 @@ repositories:
- 'ppa:yavdr/{{branch}}-vdr'
- 'ppa:yavdr/{{branch}}-kodi'
- 'ppa:yavdr/{{branch}}-yavdr'
drivers:
sundtek: auto
ddvb-dkms: auto
extra_packages:
- vim
- tree
- w-scan
vdr:
user: vdr
group: vdr

View File

@@ -4,10 +4,12 @@
template:
src: templates/90-norecommends.j2
dest: /etc/apt/apt.conf.d/90norecommends
- name: use bash instead of dash
shell: |
echo "set dash/sh false" | debconf-communicate
dpkg-reconfigure -f noninteractive dash
- name: create vdr group
group:
gid: '{{ vdr.gid }}'
@@ -23,6 +25,7 @@
shell: '/bin/bash'
state: present
append: true
- name: disable release-upgrade notifications
lineinfile:
dest: /etc/update-manager/release-upgrades
@@ -30,6 +33,7 @@
state: present
regexp: '^(Prompt=).*$'
line: '\1never'
- name: add yaVDR PPAs
apt_repository:
repo: '{{ item }}'
@@ -41,6 +45,7 @@
apt:
upgrade: dist
update_cache: yes
- name: apt | install basic packages
apt:
name: '{{ item }}'
@@ -63,6 +68,7 @@
- wpasupplicant
- usbutils
- xfsprogs
- name: apt | install extra packages
apt:
name: '{{ item }}'
@@ -70,6 +76,7 @@
install_recommends: no
with_items:
'{{ extra_packages }}'
- name: get information about usb and pci hardware and loaded kernel modules
hardware_facts:
usb: True
@@ -88,6 +95,7 @@
- debug:
var: gpus
verbosity: 1
- name: create media directories
file:
dest: '{{ item.value }}'

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# forward environment variables to an environment file and the systemd user session
env | grep "DISPLAY\|DBUS_SESSION_BUS_ADDRESS\|XDG_RUNTIME_DIR" > ~/.session-env
systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS

View File

@@ -1,2 +1,3 @@
[Service]
EnvironmentFile=-/var/lib/vdr/.session-env

View File

@@ -1,3 +1,4 @@
Section "Device"
Identifier "nvidia"
Driver "nvidia"

View File

@@ -1,3 +1,4 @@
{{ ansible_managed_file | comment }}
Section "ServerLayout"