This commit is contained in:
Alexander Grothe
2017-03-13 15:27:21 +01:00
parent c05cef7c80
commit 58119a9651
6 changed files with 34 additions and 10 deletions

View File

@@ -53,10 +53,11 @@
# TODO: set recdir, user etc. in /etc/vdr/conf.d/
- name: install additional vdr plugins
- name: apt | install additional vdr plugins
apt:
name: '{{ item }}'
state: present
install_recommends: no
with_items:
'{{ vdr_plugins | default({}) }}'
notify: [ 'Restart VDR' ]

View File

@@ -54,7 +54,7 @@
owner: '{{ vdr.user }}'
group: '{{ vdr.group }}'
- name: set a login shell for the vdr user
- name: set a login shell for the user vdr
user:
name: '{{ vdr.user }}'
shell: '/bin/bash'
@@ -63,7 +63,7 @@
groups: '{{ vdr.group }}'
append: yes
- name: enable and start xlogin for the vdr user
- name: enable and start xlogin for the user vdr
systemd:
daemon_reload: yes
name: 'xlogin@{{ vdr.user }}'