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,7 +4,7 @@
|
||||
block:
|
||||
|
||||
- name: Add Adoptium yum repository
|
||||
yum_repository:
|
||||
ansible.builtin.yum_repository:
|
||||
name: Adoptium
|
||||
file: adoptium
|
||||
description: Adoptium Repo
|
||||
@@ -14,12 +14,14 @@
|
||||
state: present
|
||||
|
||||
- name: Install Eclipse Temurin JDK
|
||||
yum:
|
||||
ansible.builtin.yum:
|
||||
name: "temurin-{{ java_major_version }}-jdk"
|
||||
state: present
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python2
|
||||
|
||||
- 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"
|
||||
@@ -30,6 +32,8 @@
|
||||
- runtime_pkg
|
||||
|
||||
- name: Install other base packages on Amazon Linux
|
||||
yum:
|
||||
ansible.builtin.yum:
|
||||
name:
|
||||
- dejavu-fonts-common # Required by the installer
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/python2
|
||||
|
||||
Reference in New Issue
Block a user