Retry 3 times npm and yarn
This commit is contained in:
parent
b9d5601e36
commit
4b5631e60b
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue