From 73d565ba00deaa6bf255272650d9ce0b40442d87 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 16 Sep 2023 01:39:37 -0500 Subject: Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4. --- prometheus/server/tasks/main.yaml | 4 ++-- unifi/tasks/main.yaml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/prometheus/server/tasks/main.yaml b/prometheus/server/tasks/main.yaml index b1bc58f..35ab0d3 100644 --- a/prometheus/server/tasks/main.yaml +++ b/prometheus/server/tasks/main.yaml @@ -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 --git a/unifi/tasks/main.yaml b/unifi/tasks/main.yaml index b932fdf..800cc8e 100644 --- a/unifi/tasks/main.yaml +++ b/unifi/tasks/main.yaml @@ -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 -- cgit v1.2.3