src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2023-09-16 01:39:37 -0500
committerLuke Hoersten <[email protected]>2023-09-16 01:39:37 -0500
commit73d565ba00deaa6bf255272650d9ce0b40442d87 (patch)
treecda8117514adde44fd6155578e05466c16e16849
parent82bc6f4f869d0b05c4943819d2009a07c37ced79 (diff)
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
-rw-r--r--prometheus/server/tasks/main.yaml4
-rw-r--r--unifi/tasks/main.yaml6
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