This commit is contained in:
Vitaly Znachenok 2017-11-28 13:53:20 +03:00
parent 2ae2397a42
commit c54c21c9eb
1 changed files with 2 additions and 2 deletions

View File

@ -78,12 +78,12 @@
- git: repo=https://github.com/oraclesorg/eth-net-intelligence-api dest={{ home }}/eth-net-intelligence-api
- name: Install netstats config
template: src=app.json.j2 dest={{ home }}/eth-net-intelligence-api/app.json owner=mining group=mining mode=0644
template: src=app.json.j2 dest={{ home }}/eth-net-intelligence-api/app.json owner={{ username }} group={{ username }} mode=0644
- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
- name: install npm netstats
shell: "cd /home/bootnode/eth-net-intelligence-api; /usr/bin/npm install"
shell: "cd /home/{{ username }}/eth-net-intelligence-api; /usr/bin/npm install"
become: true
become_user: "{{ username }}"