File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ Role Variables
40
40
--------------
41
41
42
42
``` yml
43
- jenkins_version : " 2.32.3" # The exact version of jenkins to deploy
43
+ jenkins_version : " 2.73.1" # The exact version of jenkins to deploy
44
+ jenkins_docker_image : " jenkins/jenkins" # The docker hub image name
45
+
44
46
jenkins_url : " http://127.0.0.1" # The url that Jenkins will be accessible on
45
47
jenkins_port : " 8080" # The port that Jenkins will listen on
46
48
jenkins_home : /data/jenkins # The directory on the server where the Jenkins configs will live
Original file line number Diff line number Diff line change 1
1
---
2
2
3
- jenkins_version : " 2.32.3" # The exact version of jenkins to deploy
3
+ jenkins_version : " 2.73.1" # The exact version of jenkins to deploy
4
+ jenkins_docker_image : " jenkins/jenkins" # The docker hub image name
5
+
4
6
jenkins_url : " http://127.0.0.1" # The url that Jenkins will be accessible on
5
7
jenkins_port : " 8080" # The port that Jenkins will listen on
6
8
jenkins_home : /data/jenkins # The directory on the server where the Jenkins configs will live
Original file line number Diff line number Diff line change 11
11
- name : Container is running (with ingress port)
12
12
docker_container :
13
13
name : " {{ jenkins_docker_container_name }}"
14
- image : " jenkins :{{ jenkins_version }}"
14
+ image : " {{ jenkins_docker_image }} :{{ jenkins_version }}"
15
15
published_ports :
16
16
- " {{ jenkins_port }}:8080"
17
17
volumes :
24
24
- name : Container is running (without ingress port)
25
25
docker_container :
26
26
name : " {{ jenkins_docker_container_name }}"
27
- image : " jenkins :{{ jenkins_version }}"
27
+ image : " {{ jenkins_docker_image }} :{{ jenkins_version }}"
28
28
expose : " 8080"
29
29
volumes :
30
30
- " {{ jenkins_home }}:/var/jenkins_home"
You can’t perform that action at this time.
0 commit comments