From dddfdb780098e7edc0b1a269dca7c6826fd34fa9 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 31 Jan 2021 13:15:55 -0600 Subject: [PATCH] Ignore CUPS removal failures if they are not installed on a system (FreeBSD). --- tasks/harden.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/harden.yml b/tasks/harden.yml index 050186a..a498462 100644 --- a/tasks/harden.yml +++ b/tasks/harden.yml @@ -4,6 +4,7 @@ pattern: "{{ cups_pattern }}" state: stopped enabled: no + ignore_errors: yes - name: Remove CUPS-Browse Daemon service: @@ -11,3 +12,4 @@ pattern: "{{ cups_browse_pattern }}" state: stopped enabled: no + ignore_errors: yes