From 0b947247146f27936e986c262fc9f1d641b5ac4f Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 17 Aug 2022 13:57:23 +0000 Subject: feat(ansible): Ubuntu Jammy VI. Signed-off-by: Peter Mikus Change-Id: I7dda690f2dc2e42bf6c67d3faa3327a03de3a9fa --- fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml') diff --git a/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml b/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml index 484868e595..27a6785440 100644 --- a/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml +++ b/fdio.infra.ansible/roles/cleanup/tasks/remove_package.yaml @@ -2,14 +2,14 @@ # 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: true purge: true -- cgit 1.2.3-korg