fix npm path
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Robert Kaussow 2019-08-06 22:32:45 +02:00
parent ba2cef4af3
commit 9a2fab1840
2 changed files with 1 additions and 9 deletions

View File

@ -51,7 +51,7 @@
npm:
path: "{{ zigbee2mqtt_base_dir }}"
environment:
PATH: "{{ __zigbee2mqtt_npm_executable }}:{{ ansible_env.PATH }}"
PATH: "{{ __zigbee2mqtt_npm_executable | dirname }}:{{ ansible_env.PATH }}"
when: __zigbee2mqtt_install.changed
notify: __zigbee2mqtt_restart
when: zigbee2mqtt_version is version(zigbee2mqtt_current_version, ">")

View File

@ -1,13 +1,5 @@
---
- block:
- name: Debug
command: /usr/local/bin/node --version
changed_when: False
register: __test
- debug:
msg: "{{ __test }}"
- name: Create local facts dir
file:
path: /etc/ansible/facts.d