diff --git a/roles/rhol_crc/tasks/cleanup.yml b/roles/rhol_crc/tasks/cleanup.yml index 3666b587c9..6ae944479c 100644 --- a/roles/rhol_crc/tasks/cleanup.yml +++ b/roles/rhol_crc/tasks/cleanup.yml @@ -28,10 +28,7 @@ - name: Delete RHOL/CRC instance and associated configuration when: - _crc_binary.stat.exists - ansible.builtin.command: "{{ cifmw_rhol_crc_binary }} {{ item }}" - loop: - - "delete -f" - - "cleanup" + ansible.builtin.command: "{{ cifmw_rhol_crc_binary }} cleanup" - name: Deepscrub CRC directory tags: