From faa4aed3a9b913be878563e57ed4fea6f8a0cbc9 Mon Sep 17 00:00:00 2001 From: Eric Le Lay Date: Wed, 12 Nov 2025 18:00:54 +0100 Subject: [PATCH] bootstrap: restore dnf module usage to remove cockpit changed in #440 to debug errors in rocky update workflow --- ansible/bootstrap.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/bootstrap.yml b/ansible/bootstrap.yml index 21f930314..30cc4eaca 100644 --- a/ansible/bootstrap.yml +++ b/ansible/bootstrap.yml @@ -207,10 +207,10 @@ become: true tags: cockpit tasks: - - name: Remove RHEL cockpit # noqa: no-changed-when - ansible.builtin.command: dnf -y remove cockpit-ws - register: dnf_remove_output - ignore_errors: true # Avoid failing if a lock or other error happens + - name: Remove RHEL cockpit + ansible.builtin.dnf: + name: cockpit-ws + state: absent - hosts: firewalld gather_facts: false