feat(ansible): Ubuntu Jammy VI.
[csit.git] / fdio.infra.ansible / roles / cleanup / tasks / remove_package.yaml
index 302b43c..27a6785 100644 (file)
@@ -2,19 +2,19 @@
 # file: roles/cleanup/tasks/remove_package.yaml
 
 - name: Remove Package - Fix Corrupted APT
-  shell: "dpkg --configure -a"
+  ansible.builtin.shell: "dpkg --configure -a"
   when:
     - ansible_distribution == 'Ubuntu'
   tags:
     - remove-package
 
 - name: Remove Package - {{ package }}
-  apt:
+  ansible.builtin.apt:
     name: "{{ package }}"
-    force: yes
-    purge: yes
+    force: true
+    purge: true
     state: "absent"
-  failed_when: no
+  failed_when: false
   when:
     - ansible_distribution == 'Ubuntu'
   tags: