This repository was archived by the owner on Apr 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 state : directory
77 owner : root
88 mode : 0755
9- tags :
10- - java8
119
1210- name : Ensure python-apt is installed.
1311 when : ansible_os_family == 'Debian'
2927 until : network_access is success
3028 retries : 3
3129 delay : 3
32- tags :
33- - java8
34- - java8_install
3530
3631- name : Which java packages to install
3732 # yamllint disable-line rule:line-length
3833 include_vars : " {{ ansible_os_family }}{{ ansible_distribution_major_version }}.yml"
39- tags :
40- - java8
41- - java11
42- - java13
43- - test
44- - config
4534
4635- name : Ensure Java8 is installed
4736 when :
5443 until : network_access is success
5544 retries : 3
5645 delay : 3
57- tags :
58- - java8
5946
6047- name : Ensure Java11 is installed
6148 when :
6855 until : network_access is success
6956 retries : 3
7057 delay : 3
71- tags :
72- - java11
7358
7459- name : Correct java alternatives selected
7560 alternatives :
7964 with_items :
8065 - java
8166 - javac
82- tags :
83- - alternatives
84- - java11
8567
8668- name : Correct tools alternatives selected
8769 alternatives :
11193 - rmiregistry
11294 - serialver
11395 - unpack200
114- tags :
115- - alternatives
116- - java11
11796
11897- name : Ensure file is installed for tests
11998 when : ansible_os_family == 'RedHat'
128107- name : This is JAVA_HOME
129108 set_fact :
130109 java8_home : " {{ java8_top }}/{{ base_jdk }}{{ javahome_suffix }}"
131- tags :
132- - config
133- - java8
134- - java8_test
135- - java11
136- - test
137- - ant_test
138- - maven_test
139- - gradle_test
140110
141111- name : Ensure facts can be stored locally
142112 file :
145115 owner : root
146116 group : root
147117 mode : 0755
148- tags :
149- - java8
150- - config
151118
152119- name : Install java8 facts
153120 template :
156123 owner : root
157124 group : root
158125 mode : 0644
159- tags :
160- - java8
161- - config
162126
163127- name : Ensure directory exists
164128 file :
167131 owner : root
168132 group : root
169133 mode : 0700
170- tags :
171- - java8
172- - java8_profile
173- - test
174- - config
175134
176135- name : Copy test_java.yml to remote
177136 template :
178137 src : test_java.yml.j2
179138 dest : /root/test_java.yml
180139 mode : 0644
181- tags :
182- - java8
183- - java8_profile
184- - java11
185- - test
186- - config
187140
188141- name : Fix JAVA_HOME
189142 template :
190143 src : java.sh
191144 dest : /etc/profile.d/java.sh
192145 mode : 0644
193- tags :
194- - config
195- - test
196- - java8
197- - java11
198- - java8_profile
146+
199147...
You can’t perform that action at this time.
0 commit comments