Switch npm module to shell

This commit is contained in:
ArseniiPetrovich 2018-08-18 02:00:23 +03:00
parent 907667035d
commit cd8ce20a17
1 changed files with 4 additions and 3 deletions

View File

@ -30,10 +30,11 @@
file: path={{ home }}/poa-scripts-validator owner={{ username }} group={{ username }} recurse=yes
- name: install npm transferRewardToPayoutKey
npm:
path: "{{ home }}/poa-scripts-validator/transferRewardToPayoutKey"
shell: npm install
args:
chdir: "{{ home }}/poa-scripts-validator/transferRewardToPayoutKey"
creates: "{{ home }}/poa-scripts-validator/transferRewardToPayoutKey/node_modules"
become: true
become_method: su
become_user: "{{ username }}"
- name: Install Payout task.