This commit is contained in:
parent
ba2cef4af3
commit
9a2fab1840
@ -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, ">")
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user