From 4ebaa4f36f2a7d6b9f84b1b9e192e082f6d06e60 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 11 Mar 2019 15:39:11 +0100 Subject: [PATCH] Add retries to APT modules in Matrix Appservices --- roles/matrix-appservice-discord/tasks/0_apt_dependencies.yml | 3 +++ roles/matrix-appservice-irc/tasks/0_apt_dependencies.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/roles/matrix-appservice-discord/tasks/0_apt_dependencies.yml b/roles/matrix-appservice-discord/tasks/0_apt_dependencies.yml index 40fbbce..04288e5 100644 --- a/roles/matrix-appservice-discord/tasks/0_apt_dependencies.yml +++ b/roles/matrix-appservice-discord/tasks/0_apt_dependencies.yml @@ -18,3 +18,6 @@ - nodejs - npm - build-essential + register: apt_result + retries: 3 + until: apt_result is succeeded diff --git a/roles/matrix-appservice-irc/tasks/0_apt_dependencies.yml b/roles/matrix-appservice-irc/tasks/0_apt_dependencies.yml index 40fbbce..04288e5 100644 --- a/roles/matrix-appservice-irc/tasks/0_apt_dependencies.yml +++ b/roles/matrix-appservice-irc/tasks/0_apt_dependencies.yml @@ -18,3 +18,6 @@ - nodejs - npm - build-essential + register: apt_result + retries: 3 + until: apt_result is succeeded