fix npm path
Some checks reported errors
continuous-integration/drone/push Build was killed

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: npm:
path: "{{ zigbee2mqtt_base_dir }}" path: "{{ zigbee2mqtt_base_dir }}"
environment: environment:
PATH: "{{ __zigbee2mqtt_npm_executable }}:{{ ansible_env.PATH }}" PATH: "{{ __zigbee2mqtt_npm_executable | dirname }}:{{ 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, ">")

View File

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