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