Commit Graph

325 Commits

Author SHA1 Message Date
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
Alexander Grothe
2e8bd59576 Fix systemd drop-in ExecStopCommand 2018-01-01 23:27:47 +01:00
Alexander Grothe
1d108dc61f Fix name and destination for lirc options file 2018-01-01 23:02:40 +01:00
Alexander Grothe
d8c3b9c5bd Fix indentation 2018-01-01 22:55:59 +01:00
Alexander Grothe
ce941ce722 Fix apt task 2018-01-01 22:54:47 +01:00
Alexander Grothe
2c08b97090 Add dependency to yavdr-remote role for autoinstall-atric-usb 2018-01-01 22:53:47 +01:00
Alexander Grothe
4c96c0a128 Add role for automatic configuration of Atric IR-WakeupUSB to playbook 2018-01-01 22:51:57 +01:00
Alexander Grothe
13209045b8 Add missing template file 2018-01-01 22:46:19 +01:00
Alexander Grothe
27278862a5 Fix syntax error 2018-01-01 22:42:58 +01:00
Alexander Grothe
88254f8e79 add tags to yavdr-remote, add autoinstall-atric-usb role 2018-01-01 22:39:10 +01:00
Alexander Grothe
41e44b67a4 use ansible_managed_file as comment 2018-01-01 22:38:13 +01:00
Alexander Grothe
6468b5d432 decrease sleep time 2018-01-01 17:39:00 +01:00
Alexander Grothe
7476635066 remove unnecessary sleep after kodi has been stopped 2018-01-01 17:36:51 +01:00
Alexander Grothe
34a0a0e36c Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-01-01 15:33:11 +01:00
Alexander Grothe
b9c56955b4 Improve KODI stop detection in kodi.service.j2 template 2018-01-01 15:32:30 +01:00
Alexander Grothe
4682af7c3a Add some tags for ppa related tasks 2017-12-28 17:28:43 +01:00
Alexander Grothe
c54313c6e7 Add window rule in rc.xml for vdr-sxfe 2017-12-28 15:52:35 +01:00
Alexander Grothe
9440928891 Change rc.xml for openbox to be less restrictive 2017-12-26 20:47:38 +01:00
Alexander Grothe
98674ffc4f Set background with feh 2017-12-20 13:31:36 +01:00
Alexander Grothe
2f02f49aa1 Fix action name 2017-12-20 13:25:21 +01:00
Alexander Grothe
07b9f18659 Add missing quote 2017-12-20 13:22:44 +01:00
Alexander Grothe
fb4483c01f fix indentation 2017-12-20 13:22:01 +01:00
Alexander Grothe
4f95b57a9d Download yaVDR Logo, install feh 2017-12-20 13:18:30 +01:00
Alexander Grothe
4b9332b277 Automatically start irexec.service 2017-12-20 11:00:15 +01:00
Alexander Grothe
1befca797e Fix syntax and indentation 2017-12-20 10:52:22 +01:00
Alexander Grothe
fd1d7744fb Add missing quotes at end of string 2017-12-20 10:48:49 +01:00
Alexander Grothe
3aadc14dbb Add irexec.service for the user session 2017-12-20 10:43:15 +01:00
Alexander Grothe
4c4705e49f Fix condition 2017-12-19 20:10:39 +01:00
Alexander Grothe
a84b9b1742 Increase timeout after stopping xlogin@vdr 2017-12-19 15:27:36 +01:00
Alexander Grothe
bde3106c47 Fix order of xlogin package installation and calling write-x11-keyboard-config 2017-12-19 14:43:55 +01:00
Alexander Grothe
04662f2b83 Add template for /etc/rc_maps.cfg 2017-12-19 12:32:37 +01:00
Alexander Grothe
89963fa35b Add .Xresources for user vdr 2017-12-17 15:06:45 +01:00
Alexander Grothe
b9e4f1bc33 Add space 2017-12-17 14:37:03 +01:00
Alexander Grothe
7726ce1399 fix list creation (ansible ignores multiple dictionary definitions) 2017-12-17 13:38:45 +01:00
Alexander Grothe
345e373a52 Add more DVBSky firmware files to list 2017-12-17 12:23:01 +01:00
Alexander Grothe
63bc6828aa Add missing template file 2017-12-17 11:40:39 +01:00
Alexander Grothe
5d6ffd6f4c Fix plugin name and typo 2017-12-17 11:37:28 +01:00
Alexander Grothe
dd0cd703fe Fix syntax error caused by typo 2017-12-17 11:31:53 +01:00
Alexander Grothe
4097b01602 Add comment to write-x11-keyboard-config 2017-12-17 11:28:47 +01:00
Alexander Grothe
b1532f7a7a Move creation of X11 keyboard configuration to external script
heredocs with indentations don't work properly in Ansible shell commands
2017-12-17 11:07:40 +01:00
Alexander Grothe
f94dd32250 remove empty line (which breaks syntax) 2017-12-17 10:41:41 +01:00
Alexander Grothe
7b685ebe98 Set X11 keyboard configuration according to /etc/default/keyboard values 2017-12-17 10:38:12 +01:00
Alexander Grothe
1405c73c87 Install vdr-plugin-pulsectrl and vdr-plugin-osd2web
use the bluecd instead of blue
2017-12-17 10:02:09 +01:00
Alexander Grothe
dabc057ed7 Fix package name 2017-12-16 19:57:02 +01:00
Alexander Grothe
a7bc7a4386 Fix condition to ubuntu-drivers autoinstall 2017-12-16 18:58:57 +01:00
Alexander Grothe
1f2a51dd37 Merge branch 'irmp' 2017-11-22 12:44:36 +01:00
Alexander Grothe
f302e4e06c Revert "add xrandr package to setup-xorg.yml"
This reverts commit f8553943ab.
2017-11-22 11:46:02 +01:00
Alexander Grothe
f8553943ab add xrandr package to setup-xorg.yml 2017-11-22 11:42:42 +01:00
Alexander Grothe
c5d0277610 cleanup whitespace 2017-11-22 11:40:17 +01:00
Alexander Grothe
19a1f98d74 run task only if file exists 2017-11-22 11:37:20 +01:00
Alexander Grothe
49bcecb027 allow action to fail if file does not exist 2017-11-22 10:56:21 +01:00
Alexander Grothe
68396b3797 fix string comparisons 2017-11-22 10:16:56 +01:00
Alexander Grothe
c70d6f97c6 Fix indentation 2017-11-22 10:15:16 +01:00
Alexander Grothe
4ed8729282 Add additional files 2017-11-22 10:09:51 +01:00
Alexander Grothe
885b5bd893 add role for virtualbox guest utilities installation
workaround for Ubuntu 16.04
2017-11-22 10:06:47 +01:00
Alexander Grothe
0cd621b6a6 extend hardware_facts.py with bool variables for detected graphic card manufacturers 2017-11-22 09:24:33 +01:00
Alexander Grothe
11eb950977 return a bool instead of a list 2017-11-22 09:07:44 +01:00
Alexander Grothe
b93b0e7ec6 Fix string comparison 2017-11-22 08:50:51 +01:00
Alexander Grothe
440032137b remove colon from name variables, fix org syntax error 2017-11-22 08:17:16 +01:00
Alexander Grothe
0d01ee282b Fix quoting 2017-11-22 08:07:29 +01:00
Alexander Grothe
75cd1eb560 improve syntax, add new variables for detected gpus 2017-11-21 11:31:02 +01:00
Alexander Grothe
d9eb820ea0 fix template path 2017-11-20 12:01:02 +01:00
Alexander Grothe
115bfe66c9 Add template for vdr-addon-acpiwakeup.conf 2017-11-20 11:54:11 +01:00
Alexander Grothe
74159df8ac Fix value 2017-11-20 11:09:48 +01:00
Alexander Grothe
7fc4dee8fc Merge branch 'autoinstall-firmware-dvbsky-s952' of https://github.com/yavdr/yavdr-ansible into autoinstall-firmware-dvbsky-s952 2017-11-20 10:26:05 +01:00
Alexander Grothe
9060429ba6 create extra role for wakeup configuration 2017-11-20 09:45:15 +01:00
Alexander Grothe
052b46ee34 put custom fact collection in own role "collect-facts"
so it is not necessary to run yavdr-common every time we use an
autoinstall-* role
2017-11-20 09:23:50 +01:00
Alexander Grothe
3e8e077164 add function to get acpi power saving modes 2017-11-20 09:20:30 +01:00
seahawk1986
7682a3373d
fix quoting
(thanks to LuigiDC)
2017-11-19 21:13:09 +01:00
Alexander Grothe
51226ff994 move variable dvbsky_firmware_files to role default 2017-11-18 11:45:31 +01:00
Alexander Grothe
636ff5722a remove jinja2 statement from when section 2017-11-18 10:59:05 +01:00
Alexander Grothe
eb02b5e3a7 fix indentation 2017-11-18 10:56:24 +01:00
Alexander Grothe
0616ac4982 move notify from outer block to firmware copying task 2017-11-18 10:54:43 +01:00
Alexander Grothe
446fb8d53f fix another syntax error 2017-11-18 10:51:36 +01:00
Alexander Grothe
04bf735d28 fix syntax error in task and role name 2017-11-18 10:48:50 +01:00
Alexander Grothe
beb27b8c66 create role for dvbsky firmware download
TODO: add additional pci ids and firmware names
2017-11-18 10:27:59 +01:00
LuigiDC
cebb916477 Required folder action for firmware added with documentation 2017-11-16 22:21:04 +01:00
LuigiDC
757eb39366 Some minor bugfixes 2017-11-16 22:00:39 +01:00
LuigiDC
3ffeb101aa Tags-Attribut dvbsky für autoinstall-dvbsky-s952 eingeführt 2017-11-16 08:29:36 +01:00
LuigiDC
fe985aa6d9 vendor: 1ade ("Spin Master Ltd."), device: 3038 ("PCIe Video Bridge"), subvendor: 4254, subdevice: 0552 ("S952 v3") 2017-11-15 22:05:57 +01:00
LuigiDC
1f5b845a4f Firmware Dvbsky direkt von Herstellerseite beziehen. 2017-11-15 13:09:24 +01:00
LuigiDC
45376bea14 DvbSky-S952 firmware auto-download 2017-11-14 22:13:22 +01:00
Alexander Grothe
55770c4eb6 add dependency to yavdr-common 2017-11-13 13:16:41 +01:00
Alexander Grothe
5c5826db9a Squashed commit of the following:
commit fbad7b65aa
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:44:42 2017 +0100

    remove whitespace

commit 7c2b1ce55d
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:30:42 2017 +0100

    update handlers

commit c985a33229
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:27:02 2017 +0100

    run dpkg-reconfigure if necessary

commit 0358403073
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:24:13 2017 +0100

    fix indentation and quoting

commit 11a7f5478c
Merge: 9d1eb3a ca0bc80
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:21:59 2017 +0100

    Merge branch 'irmp' of https://github.com/yavdr/yavdr-ansible into irmp

commit 9d1eb3a6e3
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:14:11 2017 +0100

    use debconf module instead of shell command

commit ca0bc806ca
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:14:11 2017 +0100

    use debconf module instead of shell command

commit 9794d7b9ef
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:03:02 2017 +0100

    Update Manual.conf

commit 36d189e31c
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:00:53 2017 +0100

    Update Manual.org, fix file permissions for role

commit 896516242b
Author: Luigi Di Carmino <luigidc@gmx.de>
Date:   Sun Nov 12 21:31:18 2017 +0100

    yavdr-hardware-irmp added
2017-11-13 09:46:51 +01:00
Alexander Grothe
c985a33229 run dpkg-reconfigure if necessary 2017-11-13 09:27:02 +01:00
Alexander Grothe
0358403073 fix indentation and quoting 2017-11-13 09:24:13 +01:00
Alexander Grothe
9d1eb3a6e3 use debconf module instead of shell command 2017-11-13 09:20:04 +01:00
Alexander Grothe
36d189e31c Update Manual.org, fix file permissions for role 2017-11-13 09:00:53 +01:00
Luigi Di Carmino
896516242b yavdr-hardware-irmp added 2017-11-12 21:59:44 +01:00
Alexander Grothe
6f52ae3092 use import_tasks instead of include 2017-11-12 21:30:00 +01:00
Alexander Grothe
856b45a88e remove obsolete script read_xrandr.py 2017-11-12 21:21:14 +01:00
Alexander Grothe
1be8a206ad add nvidia-387 role 2017-11-12 21:20:01 +01:00
Alexander Grothe
b2493a5e42 Ansible API change: use import_tasks instead of include 2017-11-12 19:07:21 +01:00
Alexander Grothe
a53e0af0c4 remove nvidia-381 role 2017-11-11 21:04:20 +01:00
Alexander Grothe
66029826c7 Add role to install nvidia-387 2017-11-09 16:31:58 +01:00
Alexander Grothe
a8e44ac1a3 Add acl to essential packages 2017-11-09 14:48:35 +01:00
Alexander Grothe
6b7a41ba5d Separate installation of gui applications 2017-11-09 10:37:06 +01:00
Alexander Grothe
5512442737 Add firefox to yavdr-xorg setup-xorg.yml 2017-11-09 09:51:16 +01:00
Alexander Grothe
417a1845a3 Fix Path for xorg.conf when running xorg-debug@.service 2017-11-09 08:36:17 +01:00
Alexander Grothe
a0e5702b7b fix typo 2017-09-12 09:37:56 +02:00
Alexander Grothe
4a5c018bbf add .service extension to dependency 2017-09-12 09:26:43 +02:00
seahawk1986
a8fbd420b7 remove heading (it's a template, not a yaml file) 2017-09-12 09:03:22 +02:00
Alexander Grothe
afd583b77f python-requests is needed as dependency for satip_facts.py 2017-09-04 12:44:06 +02:00
Alexander Grothe
bdda4bc4c0 Update satip_facts.py, fix syntax for hardware autoinstall checks 2017-09-04 12:29:53 +02:00
Alexander Grothe
1a10952345 Fix quoting for hardware detection conditions 2017-08-31 15:57:18 +02:00
seahawk1986
e5a4394129 remove automatic installation of biosdevname 2017-08-31 13:05:31 +02:00
Alexander Grothe
49bcc96702 add wm-exit.service for the user session 2017-07-31 12:26:50 +02:00
Alexander Grothe
e20829a913 add wm-exit.service to the user session 2017-07-31 12:24:20 +02:00
Alexander Grothe
2842f8b17e add correkt KillSignal to osd2web.service 2017-07-31 12:11:28 +02:00
Alexander Grothe
f41d78ccb5 Fix path for template 2017-07-31 11:52:04 +02:00
Alexander Grothe
07b00a68b2 Add dependency to x@vt7.service to the user session 2017-07-31 11:45:33 +02:00
Alexander Grothe
ea5ea149f9 start x@.service before xlogin@{{ vdr.user }} 2017-07-31 10:38:02 +02:00
Alexander Grothe
97999797c0 Add missing quotes 2017-07-31 08:47:18 +02:00
Alexander Grothe
75182264ec Fix file permissions for some system units 2017-07-31 08:44:27 +02:00
Alexander Grothe
2bb3b5758a let softhddevice start detached 2017-07-31 08:22:05 +02:00
Alexander Grothe
439f9a5702 use vdr.uid 2017-07-31 08:21:45 +02:00