Commit Graph

340 Commits

Author SHA1 Message Date
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
Alexander Grothe
c53470f2fe Add dependency to collect-facts 2018-01-16 12:06:02 +01:00
Alexander Grothe
dacbabee0e Add role to download and install firmware files 2018-01-16 10:07:18 +01:00
Alexander Grothe
7c88fd6e6a Fix warning, use correct "creates" argument for command 2018-01-16 09:27:25 +01:00
Alexander Grothe
3eb292f7fb Fix driver name for yausbir: ya_usbir 2018-01-16 09:14:45 +01:00
Alexander Grothe
54401f74e0 Fix USB IDs, add new role to playbook yavdr07.yml 2018-01-16 09:12:11 +01:00
Alexander Grothe
c44ee8867c Add role autoinstall-yausbir 2018-01-16 09:05:08 +01:00
Alexander Grothe
1bcf91fecc Fix case of boolean variable 2018-01-07 19:00:27 +01:00
Alexander Grothe
7f8f5b8290 Change from tag to variable first_run 2018-01-07 18:45:01 +01:00
Alexander Grothe
e1b17e00aa Fix handler name 2018-01-07 17:58:33 +01:00
Alexander Grothe
b1ebc54438 Start xlogin@vdr after xorg.detect using a handler 2018-01-07 17:55:18 +01:00
Alexander Grothe
fbb6003cf9 Use correct syntax for tag-controlled imports
now it is possible to run just the tasks with the xorg.detect tag:
sudo -H ansible-playbook -i "localhost," --tags="xorg.detect" --connection=local yavdr07.yml
2018-01-07 17:46:55 +01:00
Alexander Grothe
c36056561f Add block for repeated start of xorg-verbose@vt7.service 2018-01-07 17:40:29 +01:00
Alexander Grothe
98729f7cbd Change order of eventlircd.socket and eventlircd.service start and activation 2018-01-07 17:26:46 +01:00
Alexander Grothe
ffc4707fdc Fix indentation 2018-01-07 14:53:19 +01:00
Alexander Grothe
886fff4f09 First try to improve automatic xorg configuration
in order to prevent wrong screen connection names
2018-01-07 12:56:46 +01:00
Alexander Grothe
c6207490b8 Fix typo 2018-01-05 11:00:21 +01:00
Alexander Grothe
3006830cc1 configure systemd properties for all needed service- and socket-Units
also add more tags to the role
2018-01-05 10:57:31 +01:00
Alexander Grothe
9f42da23f6 ForceFullCompositionPipeline for nvidia cards
to prevent screen tearing when playing video with xineliboutput-sxfe
or other video players which use opengl components
2018-01-03 13:19:59 +01:00
Alexander Grothe
4b8ff236b5 call lircd2uinput-add after lircd has been started 2018-01-01 23:41:03 +01:00