From 950dbaec2199bec9da04d6d20cd08d60225ade7b Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Tue, 3 May 2022 17:22:20 +0200 Subject: [PATCH] post-install: ignore errors from syspatch --- CHANGELOG | 1 + roles/post-install/tasks/update.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ceb3d73..ed00a94 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - base: fix shell configuration, increase $HISTSIZE, and change history alias so it displays full history - nagios-nrpe: handle the case where cached_mem is in GB to convert it in MB in check_free_mem.sh - post-install: improve management of ldif file for ldap +- post-install: ignore errors from syspatch ### Removed diff --git a/roles/post-install/tasks/update.yml b/roles/post-install/tasks/update.yml index a0389e7..f6b0e69 100644 --- a/roles/post-install/tasks/update.yml +++ b/roles/post-install/tasks/update.yml @@ -1,4 +1,5 @@ --- - name: Check and install updates (erratas) if available command: /usr/sbin/syspatch + ignore_errors: true when: ansible_distribution_version is version_compare("6.1",'>=')