From 431b063db7a27c8668027f99e6e23789dd1e2272 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 12 Mar 2019 16:56:01 +0100 Subject: [PATCH] Maybe last fix for the CI --- roles/etherpad/tasks/main.yml | 9 ++++++--- roles/matrix-appservice-discord/tasks/main.yml | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/roles/etherpad/tasks/main.yml b/roles/etherpad/tasks/main.yml index 62aa8d7..1e36ffe 100644 --- a/roles/etherpad/tasks/main.yml +++ b/roles/etherpad/tasks/main.yml @@ -25,9 +25,9 @@ # Installation script bin/installDeps.sh (2) - name: Create symbolic link to EtherPad src file: - src: /var/local/etherpad/etherpad-lite/src - dest: /var/local/etherpad/etherpad-lite/node_modules/ep_etherpad-lite - state: link + src: /var/local/etherpad/etherpad-lite/src + dest: /var/local/etherpad/etherpad-lite/node_modules/ep_etherpad-lite + state: link become: true become_user: etherpad @@ -38,6 +38,9 @@ path: /var/local/etherpad/etherpad-lite/node_modules/ep_etherpad-lite become: true become_user: etherpad + register: npm_result + retries: 3 + until: npm_result is succeeded # Configuration - name: Configure EtherPad diff --git a/roles/matrix-appservice-discord/tasks/main.yml b/roles/matrix-appservice-discord/tasks/main.yml index a43642b..4461fe3 100644 --- a/roles/matrix-appservice-discord/tasks/main.yml +++ b/roles/matrix-appservice-discord/tasks/main.yml @@ -21,6 +21,9 @@ path: /var/local/matrix-appservice-discord/matrix-appservice-discord become: true become_user: matrix-appservice-discord + register: npm_result + retries: 3 + until: npm_result is succeeded # Typescript into javascript - name: Compile matrix-appservice-discord