From 6af6c63e5df179bda416b2b2e90e23a1fe416c21 Mon Sep 17 00:00:00 2001 From: Martin Schurz Date: Sun, 4 Feb 2024 23:30:21 +0100 Subject: [PATCH] add more excluded packages Signed-off-by: Martin Schurz --- molecule/os_hardening_vm/prepare.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/molecule/os_hardening_vm/prepare.yml b/molecule/os_hardening_vm/prepare.yml index bbd4de0be..400e66403 100644 --- a/molecule/os_hardening_vm/prepare.yml +++ b/molecule/os_hardening_vm/prepare.yml @@ -27,8 +27,10 @@ name: "{{ item }}" selection: hold when: ansible_os_family == 'Debian' + ignore_errors: true loop: - grub-pc + - initramfs-tools - linux-image-generic - name: Run the equivalent of "apt-get update && apt-get upgrade"