fix npm executable
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0f0b3a85dd
commit
fcfb0440c6
|
@ -14,7 +14,7 @@
|
|||
- block:
|
||||
- name: Check data dir
|
||||
stat:
|
||||
path: /path/to/foo
|
||||
path: "{{ zigbee2mqtt_base_dir }}/data"
|
||||
register: __zigbee_datadir
|
||||
|
||||
- name: Backup data directory
|
||||
|
@ -47,6 +47,7 @@
|
|||
|
||||
- name: Install nodejs
|
||||
npm:
|
||||
executable: "{{ __zigbee2mqtt_npm_executable }}"
|
||||
path: "{{ zigbee2mqtt_base_dir }}"
|
||||
when: __zigbee2mqtt_install.changed
|
||||
notify: __zigbee2mqtt_restart
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
__zigbee2mqtt_npm_executable: /usr/local/bin/npm
|
Loading…
Reference in New Issue