From 346d95c03445c55a4f1385807ee9ddc0e267afb9 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Thu, 20 Mar 2025 01:03:34 +0100 Subject: [PATCH] logdetective: the drop-in for storage doesn't work --- roles/logdetective/tasks/main.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/roles/logdetective/tasks/main.yml b/roles/logdetective/tasks/main.yml index 3203bc5513..131c50a596 100644 --- a/roles/logdetective/tasks/main.yml +++ b/roles/logdetective/tasks/main.yml @@ -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"'