From b0df86f4b8ef28273dcab77e1107e398dfb26c60 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Thu, 14 Nov 2024 11:43:13 +0530 Subject: [PATCH] hosts.update: Remove system installed libldb With recent changes to how libldb upstream sources are distributed, we are observing conflict for the bundled libldb files when there is already a newer version of libldb present in the system. Since we do not rely on system installed libldb at all, remove it as first step to avoid conflicts. ref: https://github.com/samba-in-kubernetes/samba-build/pull/66 Signed-off-by: Anoop C S --- playbooks/roles/hosts.update/tasks/centos9.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/roles/hosts.update/tasks/centos9.yml b/playbooks/roles/hosts.update/tasks/centos9.yml index 6449816..fc78ff3 100644 --- a/playbooks/roles/hosts.update/tasks/centos9.yml +++ b/playbooks/roles/hosts.update/tasks/centos9.yml @@ -1,3 +1,9 @@ --- +# https://github.com/samba-in-kubernetes/sit-environment/issues/125 +- name: Remove system installed libldb + yum: + name: libldb + state: absent + - name: Process common OS tasks include_tasks: centos.yml