File tree Expand file tree Collapse file tree
ansible/roles/jenkins-worker Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55#
66
77dependencies :
8- - { 'role': 'java-base' }
98- { 'role': 'gcc', when: os|startswith("rhel7") }
Original file line number Diff line number Diff line change 252252 when : os|startswith("zos")
253253 command : " chown -R {{ server_user }} {{ home }}/{{ server_user }}/gyp"
254254
255+ # This has to be done before the `service` (and similar) commands because
256+ # java is needed to start the service
257+ - include_role :
258+ name : java-base
259+
255260- name : enable jenkins at startup - general
256261 when : not os|startswith("zos") and not os|startswith("macos") and not os|startswith("aix")
257262 service : name=jenkins state=restarted enabled=yes
294299 when : os in needs_monit
295300 include : monit.yml
296301 static : false
297-
298- - include_role :
299- name : java-base
You can’t perform that action at this time.
0 commit comments