From ceaa18cdd11cfee88c8bd4fcccf80e25e15a03c2 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Nov 14 2024 08:59:54 +0000 Subject: check-for-arches-ng: ensure all packages up to date The rpm macros could be outdated so we need to ensure that the system is up to date before running the script. --- diff --git a/playbooks/rpm/check-for-arches-ng.yaml b/playbooks/rpm/check-for-arches-ng.yaml index b334bc4..b0fdf15 100644 --- a/playbooks/rpm/check-for-arches-ng.yaml +++ b/playbooks/rpm/check-for-arches-ng.yaml @@ -1,5 +1,10 @@ - hosts: all tasks: + - name: Update base system + ansible.builtin.dnf: + name: "*" + state: latest + - name: Copy discover-arches script ansible.builtin.copy: src: files/discover-arches.py