# HG changeset patch # User Luke Hoersten # Date 1588368081 18000 # Node ID 80a6e9af6aa9854838fc79338be1ae1bc63f4b93 # Parent ba484e09107d7c2b8b46f64ff4337b2ad6158680 Updated node and homebridge roles. Homebridge 1.0.0 released and breaks copy codec. diff -r ba484e09107d -r 80a6e9af6aa9 homebridge/defaults/main.yaml --- 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 diff -r ba484e09107d -r 80a6e9af6aa9 homebridge/tasks/main.yaml --- 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}}" diff -r ba484e09107d -r 80a6e9af6aa9 nodejs/defaults/main.yaml --- 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" diff -r ba484e09107d -r 80a6e9af6aa9 nodejs/tasks/main.yaml --- 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