fix: ensure journal log dir exists to allow rootless logging
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2022-03-20 15:36:54 +01:00
parent d646564fc7
commit 79be60115f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,14 @@
loop_control:
label: "{{ item.name }}: {{ item.state | bool }}"
- name: Create journal log dir
file:
path: /var/log/journal
state: directory
owner: root
group: root
mode: 2755
- name: Create home basedir for systemd users
file:
path: "{{ podman_systemd_home_basedir }}"