From 304d3fc430f2d74b6f5056869dbace79650722d6 Mon Sep 17 00:00:00 2001 From: Aleksandra Fedorova Date: Jun 22 2024 22:35:24 +0000 Subject: [WIP] Do not use yum module via ansible There seems to be a probem with dnf5 support in the ansible module, so we try to run shell command directly. --- diff --git a/roles/repo-install-rpm/tasks/main.yaml b/roles/repo-install-rpm/tasks/main.yaml index 3161201..bb1ddf0 100644 --- a/roles/repo-install-rpm/tasks/main.yaml +++ b/roles/repo-install-rpm/tasks/main.yaml @@ -1,10 +1,6 @@ --- - name: Install system dependencies - yum: - name: - - dnf-utils - - curl - state: latest + shell: dnf install -y dnf-utils curl become: yes - name: Install artifacts from dependent repository