homelab/roles/unifi/tasks/main.yml

53 lines
1.4 KiB
YAML
Raw Permalink Normal View History

- name: Install GnuPG
2023-05-04 03:42:55 +00:00
ansible.builtin.apt:
name: gnupg
state: present
- name: Add AdoptOpenJDK's signing key
2023-05-04 03:42:55 +00:00
ansible.builtin.apt_key:
id: 8ED17AF5D7E675EB3EE3BCE98AC3B29174885C03
url: https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
- name: Add MongoDB 3.6's signing key
2023-05-04 03:42:55 +00:00
ansible.builtin.apt_key:
id: 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
url: https://www.mongodb.org/static/pgp/server-3.6.asc
- name: Add UniFi's signing key
2023-05-04 03:42:55 +00:00
ansible.builtin.apt_key:
id: 4A228B2D358A5094178285BE06E85760C0A52C50
keyserver: keyserver.ubuntu.com
- name: Install AdoptOpenJDK repository
2023-05-04 03:42:55 +00:00
ansible.builtin.apt_repository:
repo: deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main
mode: 0644
state: present
- name: Install MongoDB 3.6 repository
2023-05-04 03:42:55 +00:00
ansible.builtin.apt_repository:
repo: deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main
mode: 0644
state: present
- name: Install UniFi repository
2023-05-04 03:42:55 +00:00
ansible.builtin.apt_repository:
repo: deb https://www.ui.com/downloads/unifi/debian stable ubiquiti
mode: 0644
state: present
- name: Install MongoDB 3.6
2023-05-04 03:42:55 +00:00
ansible.builtin.apt:
name: mongodb-org
state: present
- name: Install OpenJDK 8 LTS
2023-05-04 03:42:55 +00:00
ansible.builtin.apt:
name: adoptopenjdk-8-hotspot
state: present
- name: Install UniFi
2023-05-04 03:42:55 +00:00
ansible.builtin.apt:
name: unifi
state: present