-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmedia_center.yml
More file actions
48 lines (44 loc) · 1.41 KB
/
media_center.yml
File metadata and controls
48 lines (44 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
#
# Media center
# Tested on: Debian 9 Stretch
# Updated & tested: 11/07/2017
#
# This builds a media center using Kodi, tvheadend & LTSP. At the end you should have the following
# - Main server with Kodi and lots of software for work, rest and play
# - Fat clients booting from the main server with Kodi & some software for basic browsing/email.
#
# Run
# ansible-playbook media_center.yml -b -v
# -b become sudo
# -v verbose
#
- hosts: media-servers
user: kodi
sudo: yes
vars_files:
- "vars/defaults.yml"
- "vars/$ansible_distribution-$ansible_architecture.yml"
- "vars/$ansible_distribution.yml"
- "vars/custom.yml"
# Tasks for XBMC are put in a specific order
tasks:
# Install system tools
- include: common/tasks/add_testing_repo.yml
- include: common/tasks/system.yml
- include: common/tasks/system-gui.yml
- include: common/tasks/email.yml
- include: common/tasks/ruby.yml
- include: common/tasks/backup.yml
- include: common/tasks/dropbox.yml
# Install multimedia and thin clients
- include: common/tasks/kodi.yml
- include: common/tasks/ltsp.yml
- include: common/tasks/ltsp-fat-client.yml
- include: common/tasks/ltsp-build.yml
- include: common/tasks/tvheadend.yml
# Install office and admin related software
- include: common/tasks/office.yml
- include: common/tasks/x2go.yml
handlers:
- include: common/handlers/handlers.yml