# HG changeset patch # User Luke Hoersten # Date 1694846377 18000 # Node ID de03976c2df1e6fcd42da4ac17939fa99c12791f # Parent 6eaeb42f5c10335ef6679fe5bcc4cb2c655b94d0 Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4. diff -r 6eaeb42f5c10 -r de03976c2df1 prometheus/server/tasks/main.yaml --- a/prometheus/server/tasks/main.yaml Fri Sep 15 22:46:46 2023 -0500 +++ b/prometheus/server/tasks/main.yaml Sat Sep 16 01:39:37 2023 -0500 @@ -3,13 +3,13 @@ - name: add grafana apt key become: yes get_url: - url: "https://packages.grafana.com/gpg.key" + url: "https://apt.grafana.com/gpg.key" dest: "/etc/apt/trusted.gpg.d/grafana.asc" mode: "0644" - name: add grafana apt repo become: yes - apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/grafana.asc] https://packages.grafana.com/oss/deb stable main" + apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/grafana.asc] https://apt.grafana.com stable main" - name: install prometheus and grafana become: yes diff -r 6eaeb42f5c10 -r de03976c2df1 unifi/tasks/main.yaml --- a/unifi/tasks/main.yaml Fri Sep 15 22:46:46 2023 -0500 +++ b/unifi/tasks/main.yaml Sat Sep 16 01:39:37 2023 -0500 @@ -15,6 +15,10 @@ become: yes apt: deb="http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_arm64.deb" +# To accept codename change: +# 1. sudo apt update +# 2. sudo apt-get upgrade -y + - name: add unifi apt key become: yes get_url: @@ -24,7 +28,7 @@ - name: add unifi apt repo become: yes - apt_repository: repo="deb [arch=armhf] https://www.ui.com/downloads/unifi/debian stable ubiquiti" + apt_repository: repo="deb [arch=armhf signed-by=/etc/apt/trusted.gpg.d/unifi.asc] https://www.ui.com/downloads/unifi/debian unifi-7.4 ubiquiti" - name: update apt package cache become: yes