Commit Graph

359 Commits

Author SHA1 Message Date
Alexander Grothe
2559779de3 Several small fixes in various files
- xrandr_facts.py: allow detecting Virtual[1..n] devices in VirtualBox 6.0
2019-01-04 14:17:13 +01:00
Alexander Grothe
89c7254d43 Further cleanup or rc_maps.cfg.j2 2019-01-02 21:27:55 +01:00
Alexander Grothe
6522156b07 Reorganize rc_map.cfg.j2 template
ir-keytable uses the first match for a driver keytable combination (thanks to gotscha
https://www.vdr-portal.de/forum/index.php?thread/131575-yavdr-ansible/&postID=1310666#post1310666
for pointing this out).
2019-01-02 21:17:21 +01:00
Alexander Grothe
1622bbd6e6 Run ir-keytable only if installed 2019-01-02 17:22:33 +01:00
Alexander Grothe
7dd080e9e7 Add hook to reload rc-core keytables on resume 2019-01-02 17:16:11 +01:00
Alexander Grothe
f253d7c864 Add comments to templates for serial-ir 2019-01-02 12:08:37 +01:00
Alexander Grothe
81aeade96c Fix paths for templates 2019-01-02 10:22:52 +01:00
Alexander Grothe
b45785bb6d Fix typos in playbook files 2019-01-02 10:13:18 +01:00
Alexander Grothe
f1709c8494 rename variable serial_device to serial_ir_device
and add an entry for the serial-ir role to the playbook (commented out
by default, so the user has to enable it if required)
2019-01-02 09:26:56 +01:00
Alexander Grothe
326c7d3119 Add role for serial ir receivers
TODO: test role for serial_device=ttyS0 and serial_device=ttyS1
2019-01-01 23:48:31 +01:00
Alexander Grothe
142487622e Use yavdr-media package for background images 2018-12-11 14:01:04 +01:00
Alexander Grothe
f2b75bb5f7 Update comment block 2018-10-27 15:04:34 +02:00
Alexander Grothe
ab2cf081b4 Fix typo 2018-10-27 14:58:22 +02:00
Alexander Grothe
82ecb114b1 Add task and templates for rudimentary standby support 2018-10-27 14:46:53 +02:00
Alexander Grothe
01e91cc529 re-add tags to kodi role import_tasks elements 2018-10-05 18:53:07 +02:00
Alexander Grothe
9ac3f32c32 Simplify installation of KODI packages 2018-10-05 18:01:28 +02:00
Alexander Grothe
fb9ea5a363 Simplify libdvd-pkg installation 2018-10-05 17:59:22 +02:00
Alexander Grothe
6f2b486608 Remove unused with_items entry 2018-10-05 17:53:07 +02:00
Alexander Grothe
96b029fd24 Update usage of apt module, move away from deprecated loop approach 2018-10-05 17:49:39 +02:00
Alexander Grothe
03b70283ae Remove inline tags option (preparation for ansible 2.7) 2018-10-05 17:21:20 +02:00
Alexander Grothe
1fbd634d43 Add example script to switch primary and secondary display applications
also don't run detect-second-display multiple times during a session.
2018-09-30 10:57:26 +02:00
Alexander Grothe
ae5d68ed79 Don't overwrite .lircrc in vdr's home directory if it already exists 2018-09-30 10:38:20 +02:00
Alexander Grothe
553ff47248 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-09-30 10:23:05 +02:00
Alexander Grothe
2d966364e5 Improve switching primary and secondary display 2018-09-30 10:17:20 +02:00
Alexander Grothe
8fbc3f08a5 Fix detect-second-display.service 2018-09-24 22:56:36 +02:00
Alexander Grothe
dab64fe2e3 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-09-11 14:49:32 +02:00
Alexander Grothe
619a46649e Add openbox rule for softhdcuvid window 2018-09-11 14:31:46 +02:00
Alexander Grothe
260653229b Rearrange Installation of xineliboutput when a VM is detected 2018-09-04 13:21:32 +02:00
Alexander Grothe
468de0a2f3 Disable warning when running shell command 2018-08-25 15:57:15 +02:00
Alexander Grothe
171bdd2eff Add SIGKILL to "normal" exit codes 2018-08-10 16:03:57 +02:00
Alexander Grothe
3a349fd6ed Prevent increasing failed status count when package is not available 2018-08-10 14:40:22 +02:00
Alexander Grothe
73a7e75db9 improve installation of kodi-send
install kodi-eventclients-xmbc-send if available, else install kodi-eventclients-kodi-send
2018-08-10 11:53:28 +02:00
Alexander Grothe
8a91c4f7cd only show output when ansible is called with -v 2018-08-10 09:09:34 +02:00
Alexander Grothe
057411cec8 Collect detailed pci device information in variable pci_devices 2018-08-10 09:06:15 +02:00
Alexander Grothe
e4eebf2e2d Add handler to update initramfs 2018-08-10 08:13:44 +02:00
Alexander Grothe
fa2e50128d Add role to install firmware files 2018-08-10 08:12:24 +02:00
Alexander Grothe
264f1b311c Revert "use debconf module instead of shell command"
openbox autostart calls the autostart script with sh as shell and
using ansible's debconf module does not change dash to bash
successfully, so for the moment we need to use the shell command instead.

This reverts commit 4170935a5a.
2018-08-09 10:07:20 +02:00
Alexander Grothe
43ced38313 Special configuration for openbox on second display
do not focus new windows
2018-08-05 13:57:19 +02:00
Alexander Grothe
16b84b080d Add notification 2018-08-03 12:29:20 +02:00
Alexander Grothe
9ec3fb07ec Don't update cache when adding ppas, this is done in the next step 2018-08-03 12:07:33 +02:00
Alexander Grothe
16886c3806 Remove old code 2018-08-03 10:35:28 +02:00
Alexander Grothe
b8bd4b405e Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-08-03 10:32:16 +02:00
Alexander Grothe
4170935a5a use debconf module instead of shell command 2018-08-03 10:32:02 +02:00
Alexander Grothe
8694b2b05c Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic
and reflect change in Manual.org
2018-08-02 10:06:15 +02:00
Alexander Grothe
46de4a1b80 Don't install vdr-plugin-restfulapi by default
It crashes if the channel list is empty
2018-08-02 10:03:35 +02:00
seahawk1986
281e73cab4
mark template as managed by ansible 2018-07-23 13:43:59 +02:00
Alexander Grothe
b00876f0fd Disable Composite and Force(Full)CompositionPipeline by default
Even a GTX 1030 has a choppy image on fast movements (e.g. football)
2018-06-02 20:03:24 +02:00
Alexander Grothe
b1389ae487 Create drop-in for sudo for vdr user
this allows to restart vdr.service and reboot the system
2018-05-23 09:55:57 +02:00
Alexander Grothe
2ac7044459 Set nvidia-experimental driver to nvidia-396 2018-05-20 09:13:23 +02:00
Alexander Grothe
de6ea4615b Disable dpms for second display 2018-05-18 10:34:16 +02:00
Alexander Grothe
3f989fcffb Do not enable eventlircd.socket in autoinstall-yausbir
eventlircd.socket is enabled and started by yavdr-remote.
2018-05-12 21:22:22 +02:00
Alexander Grothe
7b83faf750 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-05-12 21:21:27 +02:00
Alexander Grothe
d87fcd98f4 Do not enable eventlircd.socket
eventlircd.socket should already have been enabled by yavdr-remote
2018-05-12 21:16:41 +02:00
Alexander Grothe
65dc2b4fd7 Allow overriding preferred refresh rate, resolution and connection
for xrandr_facts module. You can set own preferences e.g. in a
host_vars/localhost.yml using the variables preferred_refreshrates,
preferred_resolutions and preferred_outputs (see
roles/yavdr-xorg/default/main.yml for default values).
2018-05-10 22:04:45 +02:00
Alexander Grothe
70945dc97b Add error handling for parse-edid call.
If parse-edid can not parse the given edid, use "Unknown" for vendor
and model name.
2018-05-08 10:28:25 +02:00
Alexander Grothe
6724ddcc23 Install lircd2uinput after eventlircd 2018-05-06 19:26:04 +02:00
Alexander Grothe
524f43d494 Install eventlircd after lircd has been stopped 2018-05-06 16:32:39 +02:00
Alexander Grothe
96d2cc9a08 Use yavdr-xorg to control xlogin@vdr.service and x@vt7.service 2018-04-24 09:56:29 +02:00
Alexander Grothe
183bd4bc30 Load environment variables from /etc/default/locale 2018-04-24 09:34:44 +02:00
Alexander Grothe
e5e15fa527 Don't install vainfo 2018-04-20 15:54:08 +02:00
Alexander Grothe
47c6a06ef2 use i965-va-driver-shaders instead of free driver to enable HEVC support 2018-04-20 15:36:26 +02:00
Alexander Grothe
85d9d624e6 Update 2018-04-20 15:26:52 +02:00
Alexander Grothe
37df4f25bb Install i965-va-driver and i965-va-driver-shaders if Intel IGP is detected 2018-04-20 11:10:11 +02:00
Alexander Grothe
4f857589d9 Install *-hwe virtualbox packages by default 2018-04-19 12:06:43 +02:00
Alexander Grothe
a55eccce33 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-04-19 12:00:58 +02:00
Alexander Grothe
c43bcc30bb Do not run ubuntu-drivers autoinstall if system is a VirtualBox Client 2018-04-19 11:55:03 +02:00
Alexander Grothe
4bfe28d0a9 Add header to remote.xml
without it KODI 18 won't start
2018-04-06 08:40:44 +02:00
Alexander Grothe
71a48021eb Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-04-06 08:39:43 +02:00
Alexander Grothe
f33d0e1e64 Fix Lircmap.xml header
without a proper header KODI 18 won't start
2018-04-06 08:38:07 +02:00
Alexander Grothe
b310e3341c Remove unnecessary PassEnvironment= Option
and add a Handler for sundtek.service
2018-03-25 13:09:54 +02:00
Alexander Grothe
d2afb2f2cc enable workaround for broken alsa driver messages 2018-02-23 16:00:41 +01:00
Alexander Grothe
3610ab3471 Install xineliboutput and vdr-sxfe if we got a virtualbox environment 2018-02-12 16:40:58 +01:00
Alexander Grothe
3e14f0a969 Set xineliboutput as output plugin for virtualbox 2018-02-12 16:37:41 +01:00
Alexander Grothe
00d4b49aa7 Ensure /etc/systemd/system/vdr.service.d/ exists 2018-02-12 13:09:57 +01:00
Alexander Grothe
d0e13acdb3 Add rule to rc.xml for vaapidevice 2018-02-12 10:36:04 +01:00
Alexander Grothe
70cec795de rearrange some tasks 2018-02-12 10:27:56 +01:00
Alexander Grothe
cbfa45c4f2 Add .Xresources.j2 template 2018-02-12 09:14:14 +01:00
Alexander Grothe
5f34537b03 Fix path for .xinitrc.j2 template 2018-02-12 09:08:21 +01:00
Alexander Grothe
477bcc136b cleanup xorg-verbose.conf template 2018-02-12 09:04:56 +01:00
Alexander Grothe
218007ea77 Create own role for yavdr-desktop 2018-02-12 08:48:12 +01:00
Alexander Grothe
b0ddbb852d Move EDID settings to first device section 2018-01-27 21:01:04 +01:00
Alexander Grothe
d74da7560a Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-01-27 20:48:43 +01:00
Alexander Grothe
928bbb5b08 Allow custom browser command 2018-01-27 20:48:27 +01:00
Alexander Grothe
3b4f9d947d Wait for plymouth stop before starting x@.service 2018-01-27 20:45:31 +01:00
Alexander Grothe
d3ca791a75 Move rule to ignore eventlircd devices in xorg to own xorg.conf.d snippet 2018-01-24 10:53:05 +01:00
Alexander Grothe
b43181b9cc Add USB ID for other irmp variant 2018-01-21 12:20:13 +01:00
Alexander Grothe
9a53fbc1de Allow autospawning of pulseaudio
This possible because in bionic pulseaudio is a dbus activated service
within the user session.
2018-01-21 10:03:18 +01:00
Alexander Grothe
2745fa83b3 Fix permissions for expanded templates, allow custom url for osd2web.service 2018-01-21 09:33:52 +01:00
Alexander Grothe
5c385c03fa Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-01-19 07:55:30 +01:00
Alexander Grothe
4d393d924f Write data from xorg-detect as local facts for futher usage 2018-01-19 07:51:38 +01:00
Alexander Grothe
528d022d54 rename nvidia-387 to nvidia-experimental 2018-01-18 15:15:23 +01:00
Alexander Grothe
5e971cec4c disable lircmd.service 2018-01-18 09:35:32 +01:00
Alexander Grothe
9c17b948af fix dictionary creation 2018-01-16 15:08:20 +01:00
Alexander Grothe
06ee0d83a8 Another syntax correction 2018-01-16 15:02:13 +01:00
Alexander Grothe
08c2154220 Fix indentation, reorder tasks 2018-01-16 15:01:27 +01:00
Alexander Grothe
b08f5d842a Fix indentation 2018-01-16 14:58:22 +01:00
Alexander Grothe
b8b86e8a1d Write local facts for results of xorg-detect 2018-01-16 14:56:51 +01:00
Alexander Grothe
252cade885 use ansible_managed instead of own variable ansible_managed_file 2018-01-16 13:07:58 +01:00
Alexander Grothe
7de6a0e193 add xrandr variable 2018-01-16 12:28:18 +01:00
Alexander Grothe
3e24e74cff Write xorg variable to a file 2018-01-16 12:08:18 +01:00