fix bug with npm executable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
be834a07ed
commit
246bf320d8
@ -49,8 +49,9 @@
|
|||||||
|
|
||||||
- name: Install nodejs
|
- name: Install nodejs
|
||||||
npm:
|
npm:
|
||||||
executable: "{{ __zigbee2mqtt_npm_executable }}"
|
|
||||||
path: "{{ zigbee2mqtt_base_dir }}"
|
path: "{{ zigbee2mqtt_base_dir }}"
|
||||||
|
environment:
|
||||||
|
PATH: "{{ __zigbee2mqtt_npm_executable }}:{{ ansible_env.PATH }}"
|
||||||
when: __zigbee2mqtt_install.changed
|
when: __zigbee2mqtt_install.changed
|
||||||
notify: __zigbee2mqtt_restart
|
notify: __zigbee2mqtt_restart
|
||||||
when: zigbee2mqtt_version is version(zigbee2mqtt_current_version, ">")
|
when: zigbee2mqtt_version is version(zigbee2mqtt_current_version, ">")
|
||||||
|
Loading…
Reference in New Issue
Block a user