diff -r 1d79e73c881f -r 6913019b9492 roles/hap-nodejs/tasks/main.yaml --- a/roles/hap-nodejs/tasks/main.yaml Tue Feb 20 20:17:53 2018 -0600 +++ b/roles/hap-nodejs/tasks/main.yaml Thu Feb 22 21:08:27 2018 -0600 @@ -14,7 +14,10 @@ - name: install homekit apt packages become: yes apt: name="{{item}}" - with_items: "{{hap_ubuntu_apt_packages}}" + with_items: + - "libavahi-compat-libdnssd-dev" + - "nodejs-legacy" + - "npm" - name: download and unarchive HAP-NodeJS become: yes @@ -27,11 +30,13 @@ owner: "{{hap_user}}" group: "{{hap_user}}" +# global? - name: install npm packages become: yes become_user: "{{hap_user}}" npm: name="{{item}}" path="{{hap_dest}}" - with_items: "{{hap_npm_packages}}" + with_items: + - "python-shell" - name: clean up accessory examples become: yes