From dd15a217d8f3cedded37fe4db8a352013eb41559 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Thu, 22 Feb 2018 21:08:27 -0600 Subject: Removed nodejs role. Using apt now. --- roles/hap-nodejs/tasks/main.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'roles/hap-nodejs/tasks') diff --git a/roles/hap-nodejs/tasks/main.yaml b/roles/hap-nodejs/tasks/main.yaml index cd3f71c..824ff10 100644 --- a/roles/hap-nodejs/tasks/main.yaml +++ b/roles/hap-nodejs/tasks/main.yaml @@ -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 -- cgit v1.2.3