mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
use default firejail mpd profile
requires >= 0.9.52
This commit is contained in:
parent
632c8ec549
commit
d9cd95e9fa
2 changed files with 10 additions and 15 deletions
|
|
@ -1,11 +0,0 @@
|
|||
include /etc/firejail/globals.local
|
||||
include /etc/firejail/disable-devel.inc
|
||||
include /etc/firejail/disable-common.inc
|
||||
include /etc/firejail/disable-programs.inc
|
||||
include /etc/firejail/disable-passwdmgr.inc
|
||||
|
||||
caps.drop all
|
||||
netfilter
|
||||
nonewprivs
|
||||
noroot
|
||||
protocol unix,inet,inet6,netlink
|
||||
|
|
@ -9,10 +9,16 @@
|
|||
tags:
|
||||
- firejail
|
||||
|
||||
- name: Push mpd firejail profile
|
||||
copy: src=firejail/mpd.profile dest=/usr/local/etc/firejail/mpd.profile
|
||||
notify:
|
||||
- activate firejail profiles
|
||||
- name: Verify mpd firejail local profile exists
|
||||
file: path=/etc/firejail/mpd.local state=touch
|
||||
tags:
|
||||
- firejail
|
||||
|
||||
- name: Set mpd firejail protocols
|
||||
lineinfile:
|
||||
dest: /etc/firejail/mpd.local
|
||||
regexp: "^protocol"
|
||||
line: "protocol unix,inet,inet6,netlink"
|
||||
tags:
|
||||
- firejail
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue