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