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:
|
- block:
|
||||||
- name: Check data dir
|
- name: Check data dir
|
||||||
stat:
|
stat:
|
||||||
path: /path/to/foo
|
path: "{{ zigbee2mqtt_base_dir }}/data"
|
||||||
register: __zigbee_datadir
|
register: __zigbee_datadir
|
||||||
|
|
||||||
- name: Backup data directory
|
- name: Backup data directory
|
||||||
|
@ -47,6 +47,7 @@
|
||||||
|
|
||||||
- name: Install nodejs
|
- name: Install nodejs
|
||||||
npm:
|
npm:
|
||||||
|
executable: "{{ __zigbee2mqtt_npm_executable }}"
|
||||||
path: "{{ zigbee2mqtt_base_dir }}"
|
path: "{{ zigbee2mqtt_base_dir }}"
|
||||||
when: __zigbee2mqtt_install.changed
|
when: __zigbee2mqtt_install.changed
|
||||||
notify: __zigbee2mqtt_restart
|
notify: __zigbee2mqtt_restart
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
__zigbee2mqtt_npm_executable: /usr/local/bin/npm
|
Loading…
Reference in New Issue