From 77de548f8890a5bbf73990b923aeb6c54aef29e1 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Thu, 17 Aug 2023 15:20:38 -0400 Subject: [PATCH] fix: add retries for ubuntu security updates --- playbooks/roles/security/tasks/security-ubuntu.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/roles/security/tasks/security-ubuntu.yml b/playbooks/roles/security/tasks/security-ubuntu.yml index 3352129bb8b..1929c59688f 100644 --- a/playbooks/roles/security/tasks/security-ubuntu.yml +++ b/playbooks/roles/security/tasks/security-ubuntu.yml @@ -69,3 +69,6 @@ with_items: - unattended-upgrade --dry-run - unattended-upgrade + register: ubuntu_security + retries: 3 + until: ubuntu_security is succeeded