From 59e3dc7947c08539baf4b989b6d4ef39119b571c Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 31 Jan 2021 13:19:35 -0600 Subject: [PATCH] Service module complained about ignore_errors. Trying it on the include. --- local.yml | 1 + tasks/harden.yml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 8c9bb40..efb0a64 100644 --- a/local.yml +++ b/local.yml @@ -18,6 +18,7 @@ - include: tasks/users.yml - include: tasks/cron.yml - include: tasks/harden.yml + ignore_errors: yes # Desktops and laptops diff --git a/tasks/harden.yml b/tasks/harden.yml index a498462..050186a 100644 --- a/tasks/harden.yml +++ b/tasks/harden.yml @@ -4,7 +4,6 @@ pattern: "{{ cups_pattern }}" state: stopped enabled: no - ignore_errors: yes - name: Remove CUPS-Browse Daemon service: @@ -12,4 +11,3 @@ pattern: "{{ cups_browse_pattern }}" state: stopped enabled: no - ignore_errors: yes