fix bug with npm executable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-03-09 16:51:27 +01:00
parent be834a07ed
commit 246bf320d8

View File

@ -49,8 +49,9 @@
- name: Install nodejs
npm:
executable: "{{ __zigbee2mqtt_npm_executable }}"
path: "{{ zigbee2mqtt_base_dir }}"
environment:
PATH: "{{ __zigbee2mqtt_npm_executable }}:{{ ansible_env.PATH }}"
when: __zigbee2mqtt_install.changed
notify: __zigbee2mqtt_restart
when: zigbee2mqtt_version is version(zigbee2mqtt_current_version, ">")