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