Skip to content

Commit faa4aed

Browse files
committed
bootstrap: restore dnf module usage to remove cockpit
changed in #440 to debug errors in rocky update workflow
1 parent c7054bd commit faa4aed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ansible/bootstrap.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@
207207
become: true
208208
tags: cockpit
209209
tasks:
210-
- name: Remove RHEL cockpit # noqa: no-changed-when
211-
ansible.builtin.command: dnf -y remove cockpit-ws
212-
register: dnf_remove_output
213-
ignore_errors: true # Avoid failing if a lock or other error happens
210+
- name: Remove RHEL cockpit
211+
ansible.builtin.dnf:
212+
name: cockpit-ws
213+
state: absent
214214

215215
- hosts: firewalld
216216
gather_facts: false

0 commit comments

Comments
 (0)