Commit Graph

302 Commits

Author SHA1 Message Date
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
Alexander Grothe
e1eefe0902 remove duplicate 2017-07-31 08:21:34 +02:00
Alexander Grothe
a6841d7ae8 add basic XDG_RUNTIME_DIR 2017-07-31 00:22:10 +02:00
Alexander Grothe
1b96a3ab7f Update 2017-07-30 23:53:19 +02:00
Alexander Grothe
338da033ca add role to install pvrinput for some cards 2017-07-30 23:33:22 +02:00
Alexander Grothe
e9cc0fec54 use vdr.user variable for xlogin session start 2017-07-30 23:28:13 +02:00
Alexander Grothe
2167d28123 rearrange order of xorg tasks 2017-07-30 23:19:35 +02:00
Alexander Grothe
483f9e2878 Enable pulseaudio for the session 2017-07-30 23:09:58 +02:00
Alexander Grothe
b9082eadc9 Add frontend script to session, install vdr-plugin-desktop 2017-07-30 21:55:48 +02:00
Alexander Grothe
9c839f156d add tasks to playbooks, add dependency for on_vdr script to xorg install 2017-07-30 15:21:05 +02:00
Alexander Grothe
264a2f2252 Minor changes, update task and variable descriptions 2017-07-30 14:54:43 +02:00
Alexander Grothe
f173dc14cb fix include 2017-07-30 14:34:48 +02:00
Alexander Grothe
b50bf17557 Merge branch 'master' of https://github.com/yavdr/yavdr-ansible 2017-07-30 14:31:04 +02:00
Alexander Grothe
02ccd7de10 start reorganizing main.yml in roles 2017-07-30 14:29:38 +02:00
Alexander Grothe
c61c037914 Merge branch 'master' of https://github.com/yavdr/yavdr-ansible 2017-07-28 16:10:48 +02:00
Alexander Grothe
728fd7c92b Cleanup 2017-07-28 16:09:11 +02:00
Alexander Grothe
c42881044e simplify debug output 2017-07-28 16:08:30 +02:00
Alexander Grothe
0f9caa6605 add some empty lines 2017-07-28 15:07:57 +02:00
Alexander Grothe
373f44e6aa Add lirc socket as option for kodi
so any kodi package can be used
2017-07-28 15:04:36 +02:00
Alexander Grothe
4dfb0fde81 Add expansion of some templates, rearrange tasks 2017-07-16 11:21:04 +02:00
Alexander Grothe
6c3cc84c60 Rearrange tasks in yavdr-xorg 2017-07-16 11:05:54 +02:00
Alexander Grothe
10b7286720 Disable lircd-uinput.service 2017-07-16 10:17:08 +02:00
Alexander Grothe
b56c98179a Update xorg.conf template for dual screen 2017-07-16 09:58:23 +02:00
Alexander Grothe
9b4ca5e134 Add template for vdr lirc configuration 2017-07-16 09:34:03 +02:00
Alexander Grothe
980df3481e Fix package name for lirc 2017-07-16 09:27:30 +02:00
Alexander Grothe
476f298b8c Fix typo 2017-07-16 09:21:35 +02:00
Alexander Grothe
8133f7e786 Let yavdr-remote always install eventlircd, activate lircd for vdr 2017-07-16 09:17:39 +02:00
Alexander Grothe
101d2c619e Enable and start additional services after the avahi-linker installation 2017-07-16 08:29:13 +02:00
Alexander Grothe
3521f9eee8 Fix typo 2017-07-16 08:16:47 +02:00
Alexander Grothe
fbd5e88f64 Change order of package installation and stopping xorg-related jobs,
so it does not fail because they don't exist yet.
2017-07-16 08:02:25 +02:00
Alexander Grothe
15dd3f24f8 Update some descriptions, rearrange order of tasks 2017-07-15 14:28:23 +02:00
Alexander Grothe
a27014f076 Cleanup 2017-07-08 13:45:51 +02:00
Alexander Grothe
9d61950078 add pulseaudio role 2017-07-08 13:38:13 +02:00
Alexander Grothe
2a4dc82e21 add xorg autoconfiguration, install some config files for vdr, update nfs- and avahi configuration 2017-07-08 13:37:35 +02:00
Alexander Grothe
87600748ee add template for environment loader of vdr.service 2017-06-22 13:29:57 +02:00
Alexander Grothe
86488b5a79 fix looping over variable 2017-06-22 13:29:20 +02:00
Alexander Grothe
ae8d54aed1 vdr.service: load environment from user session, create avahi services 2017-06-22 13:28:10 +02:00
Alexander Grothe
d7000f0dac Fix indentation for /etc/exports template 2017-06-22 12:09:49 +02:00
Alexander Grothe
d45d4ff643 fix padline option for source blocks 2017-06-21 12:46:51 +02:00
Alexander Grothe
2782daf931 update yavdr-xorg files 2017-06-21 10:14:35 +02:00
Alexander Grothe
2a039bcd3a add role to install nvidia-381 driver 2017-06-20 16:46:57 +02:00
Alexander Grothe
8a1aa945de fix indentation errors 2017-06-20 16:38:38 +02:00
Alexander Grothe
ddf59c34f1 Cleanup empty lines at beginning of file 2017-06-20 16:19:08 +02:00
Alexander Grothe
5e5f9f346a add xorg configuration and driver autodetection 2017-06-20 15:09:15 +02:00
Alexander Grothe
a788fdcb4d Add fact collection with xrandr 2017-04-10 13:24:40 +02:00
Alexander Grothe
0ec472d7b2 Add module for display resolution detection.
xorg_facts sets the variable xorg with display information parsed from
xrandr's output
2017-03-26 13:57:31 +02:00
Alexander Grothe
45b0519b83 minor changes to comments 2017-03-16 10:26:32 +01:00
Alexander Grothe
190b94aaa3 fix some roles, change order of role execution in playbook 2017-03-13 22:25:32 +01:00
Alexander Grothe
dc757482a3 add vdr restart handler to autoinstall roles, move satip detection 2017-03-13 19:34:54 +01:00
Alexander Grothe
634a1cd59c Fix quoting for string comparison in pvr350 role 2017-03-13 18:38:57 +01:00
Alexander Grothe
58119a9651 cleanup 2017-03-13 15:27:21 +01:00
Alexander Grothe
ca33ff5ac4 Update role order, next try for a successfull local installation 2017-03-13 14:53:07 +01:00
Alexander Grothe
10c3d12215 Add role to install nfs-server, cleanup roles and configuration
- use generic media_dirs including vdr recdir, loop over them to
  create directories, configure samba, nfs, etc.
- add role to install an configure nfs-kernel-server
- cleanup roles
- add custom fact modules
2017-03-13 10:40:35 +01:00
Alexander Grothe
d6647e1613 Move local fact scripts to modules 2017-03-03 10:39:59 +01:00
Alexander Grothe
1dc6f1c00b Set bash instead of dash, update default variables for grub-config 2017-03-03 00:35:14 +01:00
Alexander Grothe
bcc016b7e6 Add some roles for autodetection of Hardware 2017-03-02 16:01:52 +01:00
Alexander Grothe
5cd3869a51 rename fact files 2017-03-02 09:38:05 +01:00
Alexander Grothe
54c7d091fd Fix indentations 2017-03-02 09:06:19 +01:00
Alexander Grothe
5219bdc4e5 Add satip detection script 2017-03-01 21:13:03 +01:00
Alexander Grothe
14a9ea894c Add svdrp service definition, improve template 2017-03-01 21:11:56 +01:00
Alexander Grothe
d3e40de05d Add facts script for Sat>IP 2017-03-01 11:59:11 +01:00
Alexander Grothe
bae1028bc7 relocate install-yavdr.sh 2017-02-28 16:31:43 +01:00
Alexander Grothe
5a012f2080 update yavdr-common role, add support for local facts 2017-02-28 16:30:56 +01:00
Alexander Grothe
27b5cd0500 add facts script for usb and pci ids 2017-02-28 16:07:33 +01:00
Alexander Grothe
a731768b7c remove lirc_pci_id.sh 2017-02-28 16:07:10 +01:00
Alexander Grothe
be6e71e54d Merge branch 'master' of https://github.com/yavdr/yavdr-ansible 2017-02-28 10:56:11 +01:00
Alexander Grothe
c053dcbb0b add script that returns local pci(e) ids 2017-02-28 10:55:35 +01:00
Alexander Grothe
bf6b434fce delete old grub role 2017-02-23 13:15:32 +01:00
Alexander Grothe
228ac70b5e add role for samba-install, grub-config, update network and handlers 2017-02-23 13:15:04 +01:00
Alexander Grothe
9fe824e452 cleanup and test basic functionality 2017-02-22 15:27:48 +01:00
Alexander Grothe
efac4618fa Trying some literate programming for this playbook 2017-02-20 14:29:15 +01:00
seahawk1986
de8118bd8f Update main.yml 2017-02-19 21:33:48 +01:00
seahawk1986
40e99f1cfe Delete main.yml 2017-02-19 14:13:35 +01:00
seahawk1986
b4da9da449 Delete main.yml~ 2017-02-19 14:12:12 +01:00
Alexander Grothe
6ab1857bfd update README 2017-02-19 14:10:07 +01:00
Alexander Grothe
65f90a610e add proof of concept 2017-02-19 13:56:47 +01:00