mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
use collections; use FQCN for all tasks
This commit is contained in:
@@ -4,29 +4,29 @@
|
||||
block:
|
||||
|
||||
- name: Install gnupg
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name: gnupg
|
||||
state: present
|
||||
|
||||
- name: Add Adoptium debian repo public key
|
||||
apt_key:
|
||||
ansible.builtin.apt_key:
|
||||
url: https://packages.adoptium.net/artifactory/api/gpg/key/public
|
||||
state: present
|
||||
|
||||
- name: Add Adoptium debian repository
|
||||
apt_repository:
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb https://packages.adoptium.net/artifactory/deb {{ ansible_distribution_release }} main"
|
||||
state: present
|
||||
filename: adoptium
|
||||
|
||||
- name: Install Eclipse Temurin JDK
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
name: "temurin-{{ java_major_version }}-jdk"
|
||||
update_cache: yes
|
||||
state: present
|
||||
|
||||
- name: Ensure common JDK symlink exists
|
||||
alternatives:
|
||||
community.general.alternatives:
|
||||
link: "/usr/lib/jvm/java"
|
||||
name: "java_sdk"
|
||||
path: "/usr/lib/jvm/temurin-{{ java_major_version }}-jdk-{{ debian_architecture }}"
|
||||
@@ -37,6 +37,6 @@
|
||||
- runtime_pkg
|
||||
|
||||
- name: Install other base packages on Ubuntu
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- fonts-dejavu-core # Required by installer
|
||||
|
||||
Reference in New Issue
Block a user