Fix linter errors on netstat role

This commit is contained in:
Aleksey Zalesov 2018-02-26 17:36:09 +03:00
parent e0d90df027
commit bbdfb8c6da
1 changed files with 6 additions and 2 deletions

View File

@ -33,9 +33,13 @@
shell: "cd /home/{{ username }}/eth-netstats; grunt"
become: true
become_user: "{{ username }}"
args:
creates: "/home/{{ username }}/dist"
- name: Config ws_secret.json file
shell: "echo '[\"{{ NETSTATS_SECRET }}\"]' > /home/{{ username }}/eth-netstats/ws_secret.json"
copy:
content: '["{{ NETSTATS_SECRET }}"]'
dest: "/home/{{ username }}/eth-netstats/ws_secret.json"
notify:
- restart poa-dashboard