taskotron-client: make sure tmpfiles don't erase our dirs
tmpfiles daemon used to delete /var/tmp/taskotron which we don't want
This commit is contained in:
parent
e89337e6c5
commit
581b53994f
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
# Configure tmpfiles for Taskotron use. Read 'man 5 tmpfiles.d' to understand
|
||||
# how it works exactly.
|
||||
|
||||
|
||||
#Type Path Mode UID GID Age Argument
|
||||
|
||||
# Make sure /var/tmp/taskotron is ignored and never removed. Contents can be.
|
||||
X /var/tmp/taskotron - - - 1w -
|
|
@ -1,4 +1,8 @@
|
|||
---
|
||||
- name: install tmpfiles.d Taskotron config
|
||||
copy: src=tmpfiles-taskotron.conf dest=/etc/tmpfiles.d/taskotron.conf owner=root group=root mode=0600
|
||||
when: deployment_type != 'local'
|
||||
|
||||
- name: ensure packages required for libtaskotron are installed
|
||||
dnf: name={{ item }} state=present
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue