Retry 3 times npm and yarn

This commit is contained in:
Alexandre Iooss 2019-03-11 18:12:55 +01:00
parent b9d5601e36
commit 4b5631e60b
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,9 @@
production: true
become: true
become_user: codimd
register: yarn_result
retries: 3
until: yarn_result is succeeded
# Connection to database
- name: Connect CodiMD to PostgreSQL db

View file

@ -20,6 +20,9 @@
production: true
become: true
become_user: matrix-appservice-irc
register: npm_result
retries: 3
until: npm_result is succeeded
# Configure
- name: Configure matrix-appservice-irc