author | Luke Hoersten <luke@hoersten.org> |
Sat, 20 Jul 2024 10:22:38 -0500 | |
changeset 233 | abc2c5c417a7 |
parent 227 | 2e0366f2dcbe |
permissions | -rw-r--r-- |
199 | 1 |
--- |
2 |
||
3 |
- name: add mongo apt key |
|
4 |
become: yes |
|
5 |
get_url: |
|
6 |
url: "https://pgp.mongodb.com/server-3.6.asc" |
|
7 |
dest: "/etc/apt/trusted.gpg.d/mongo-3.6.asc" |
|
8 |
mode: "0644" |
|
9 |
||
10 |
- name: add mongo apt repo |
|
11 |
become: yes |
|
12 |
apt_repository: repo="deb [arch=arm64 signed-by=/etc/apt/trusted.gpg.d/mongo-3.6.asc] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" |
|
13 |
||
14 |
- name: install libssl1.1 deb |
|
15 |
become: yes |
|
227
2e0366f2dcbe
Tons of updates to fix migration to new server.
Luke Hoersten <luke@hoersten.org>
parents:
223
diff
changeset
|
16 |
apt: deb="http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_{{arch}}.deb" |
199 | 17 |
|
223
de03976c2df1
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
Luke Hoersten <luke@hoersten.org>
parents:
199
diff
changeset
|
18 |
# To accept codename change: |
de03976c2df1
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
Luke Hoersten <luke@hoersten.org>
parents:
199
diff
changeset
|
19 |
# 1. sudo apt update |
de03976c2df1
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
Luke Hoersten <luke@hoersten.org>
parents:
199
diff
changeset
|
20 |
# 2. sudo apt-get upgrade -y |
de03976c2df1
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
Luke Hoersten <luke@hoersten.org>
parents:
199
diff
changeset
|
21 |
|
199 | 22 |
- name: add unifi apt key |
23 |
become: yes |
|
24 |
get_url: |
|
25 |
url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x06e85760c0a52c50" |
|
26 |
dest: "/etc/apt/trusted.gpg.d/unifi.asc" |
|
27 |
mode: "0644" |
|
28 |
||
29 |
- name: add unifi apt repo |
|
30 |
become: yes |
|
223
de03976c2df1
Unifi-7.5 release doesnt seem to support arm so I held the version at 7.4.
Luke Hoersten <luke@hoersten.org>
parents:
199
diff
changeset
|
31 |
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" |
199 | 32 |
|
33 |
- name: update apt package cache |
|
34 |
become: yes |
|
35 |
apt: upgrade="dist" update_cache="yes" cache_valid_time="3600" |
|
36 |
||
37 |
- name: install unifi apt packages |
|
38 |
become: yes |
|
39 |
apt: name="{{unifi_apt_packages}}" |