Updated node and homebridge roles. Homebridge 1.0.0 released and breaks copy codec.
--- a/homebridge/defaults/main.yaml Mon Feb 17 19:01:58 2020 -0600
+++ b/homebridge/defaults/main.yaml Fri May 01 16:21:21 2020 -0500
@@ -15,7 +15,7 @@
- "homebridge-camera-ffmpeg"
- "homebridge-roomba-stv"
-homebridge_rtsp_vcodec: "h264_omx"
+homebridge_rtsp_vcodec: "copy"
homebridge_rtsp_debug: "false"
homebridge_rtsp_max_streams: 5
--- a/homebridge/tasks/main.yaml Mon Feb 17 19:01:58 2020 -0600
+++ b/homebridge/tasks/main.yaml Fri May 01 16:21:21 2020 -0500
@@ -26,13 +26,11 @@
- name: install homebridge
become: yes
- become_user: "{{homebridge_user}}"
npm: name="homebridge" global="yes"
notify: restart homebridge service
- name: install platform accessories
become: yes
- become_user: "{{homebridge_user}}"
npm: name="{{item}}" global="yes"
notify: restart homebridge service
with_items: "{{homebridge_npm_packages}}"
--- a/nodejs/defaults/main.yaml Mon Feb 17 19:01:58 2020 -0600
+++ b/nodejs/defaults/main.yaml Fri May 01 16:21:21 2020 -0500
@@ -1,7 +1,6 @@
---
-nodejs_tag: "latest-v11.x"
-nodejs_version: "11.15.0"
+nodejs_version: "v14.1.0"
nodejs_arch: "{{ansible_architecture}}"
-nodejs_dir: "node-v{{nodejs_version}}-{{ansible_system | lower}}-{{nodejs_arch}}"
-nodejs_src: "https://nodejs.org/dist/{{nodejs_tag}}/{{nodejs_dir}}.tar.gz"
+nodejs_dir: "node-{{nodejs_version}}-{{ansible_system | lower}}-{{nodejs_arch}}"
+nodejs_src: "https://nodejs.org/dist/{{nodejs_version}}/{{nodejs_dir}}.tar.xz"
--- a/nodejs/tasks/main.yaml Mon Feb 17 19:01:58 2020 -0600
+++ b/nodejs/tasks/main.yaml Fri May 01 16:21:21 2020 -0500
@@ -3,10 +3,12 @@
- name: download and unarchive nodejs
become: yes
unarchive:
- src: "https://nodejs.org/dist/{{nodejs_tag}}/{{nodejs_dir}}.tar.xz"
+ src: "{{nodejs_src}}"
dest: "/opt/"
remote_src: yes
creates: "/opt/{{nodejs_dir}}"
+ owner: "root"
+ group: "root"
# sudo update-alternatives --install "/usr/bin/node" "node" "/opt/node/bin/node" 1
- name: update node alterantives