diff options
| author | Luke Hoersten <[email protected]> | 2018-02-22 21:08:27 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2018-02-22 21:08:27 -0600 |
| commit | dd15a217d8f3cedded37fe4db8a352013eb41559 (patch) | |
| tree | b0d7dea2266d6348e526c51f68268ca7e552133c /roles/hap-nodejs/tasks | |
| parent | a5e7b1cf5f17c3127995a8a10d20f60add2a53aa (diff) | |
Removed nodejs role. Using apt now.
Diffstat (limited to 'roles/hap-nodejs/tasks')
| -rw-r--r-- | roles/hap-nodejs/tasks/main.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
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 |
