Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
homelab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
homelab
Commits
d3a47c1b
Commit
d3a47c1b
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Flesh out the Kodi role.
parent
b29ffa9e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
kodi.yaml
+1
-0
1 addition, 0 deletions
kodi.yaml
roles/kodi/files/kodi@.service
+1
-1
1 addition, 1 deletion
roles/kodi/files/kodi@.service
roles/kodi/handlers/main.yml
+4
-0
4 additions, 0 deletions
roles/kodi/handlers/main.yml
roles/kodi/tasks/main.yml
+13
-1
13 additions, 1 deletion
roles/kodi/tasks/main.yml
with
19 additions
and
2 deletions
kodi.yaml
+
1
−
0
View file @
d3a47c1b
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
-
hosts
:
-
hosts
:
-
kodi
-
kodi
roles
:
roles
:
-
debian_server
-
kodi
-
kodi
become
:
true
become
:
true
become_user
:
root
become_user
:
root
This diff is collapsed.
Click to expand it.
roles/kodi/files/kodi@.service
+
1
−
1
View file @
d3a47c1b
...
@@ -18,7 +18,7 @@ ConditionPathExists=/dev/tty0
...
@@ -18,7 +18,7 @@ ConditionPathExists=/dev/tty0
[Service]
[Service]
User
=
kodi
User
=
kodi
PAMName
=
login
PAMName
=
login
ExecStart
=
flatpak run --device=
dri --filesystem=home
--filesystem=/srv/library tv.kodi.Kodi --standalone --windowing=gbm -fs
ExecStart
=
flatpak run --device=
all
--filesystem=/srv/library tv.kodi.Kodi --standalone --windowing=gbm -fs
Type
=
simple
Type
=
simple
Restart
=
on-abort
Restart
=
on-abort
RestartSec
=
5
RestartSec
=
5
...
...
This diff is collapsed.
Click to expand it.
roles/kodi/handlers/main.yml
0 → 100644
+
4
−
0
View file @
d3a47c1b
---
-
name
:
Rebuild initramfs
command
:
cmd
:
update-initramfs -u
This diff is collapsed.
Click to expand it.
roles/kodi/tasks/main.yml
+
13
−
1
View file @
d3a47c1b
...
@@ -7,10 +7,22 @@
...
@@ -7,10 +7,22 @@
-
desktop-base
-
desktop-base
-
flatpak
-
flatpak
#- plymouth-themes
#- plymouth-themes
-
firmware-linux
-
udisks2
-
udisks2
-
unison
-
unison
-
upower
-
upower
-
name
:
Configure boot splash
copy
:
backup
:
true
content
:
|
[Daemon]
Theme=futureprototype
dest
:
/etc/plymouth/plymouthd.conf
mode
:
0o0644
notify
:
-
Rebuild initramfs
-
name
:
Add Flatpak remotes
-
name
:
Add Flatpak remotes
with_dict
:
with_dict
:
flathub
:
https://flathub.org/repo/flathub.flatpakrepo
flathub
:
https://flathub.org/repo/flathub.flatpakrepo
...
@@ -32,12 +44,12 @@
...
@@ -32,12 +44,12 @@
user
:
user
:
create_home
:
true
create_home
:
true
home
:
/var/lib/kodi
home
:
/var/lib/kodi
id
:
999
name
:
kodi
name
:
kodi
password
:
'
!'
# pragma: allowlist secret
password
:
'
!'
# pragma: allowlist secret
shell
:
/bin/false
shell
:
/bin/false
state
:
present
state
:
present
system
:
true
system
:
true
uid
:
900
-
name
:
Copy service
-
name
:
Copy service
copy
:
copy
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment