logdetective: the drop-in for storage doesn't work

This commit is contained in:
Jakub Kadlcik 2025-03-20 01:03:34 +01:00
parent c6f268440e
commit 346d95c034

View file

@ -93,9 +93,11 @@
# hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
# when: env != 'production'
# We should ideally configure this in /etc but I am not sure where and how.
# I would expect a drop-in config in /etc/containers/containers.conf.d/ to work
# but it doesn't.
- name: Podman cache on the secondary drive
community.general.ini_file:
path: /etc/containers/containers.conf.d/50-storage.conf
section: storage
option: graphroot
value: "/mnt/srv/containers_storage"
ansible.builtin.lineinfile:
path: /usr/share/containers/storage.conf
regexp: '^graphroot = '
line: 'graphroot = "/mnt/srv/containers_storage"'