jenkins: Redirect port 80 to 8080
This commit is contained in:
parent
eda5c625b3
commit
599c876e6a
3 changed files with 11 additions and 1 deletions
|
@ -18,3 +18,10 @@ cloud_networks:
|
||||||
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
||||||
|
|
||||||
jenkins_master: True
|
jenkins_master: True
|
||||||
|
|
||||||
|
tcp_ports: [ 80 ]
|
||||||
|
|
||||||
|
custom_rules: [
|
||||||
|
# Redirect port 80 to 8080, which is used by jenkins
|
||||||
|
'-A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080',
|
||||||
|
]
|
||||||
|
|
|
@ -65,7 +65,7 @@ JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true"
|
||||||
# Port Jenkins is listening on.
|
# Port Jenkins is listening on.
|
||||||
# Set to -1 to disable
|
# Set to -1 to disable
|
||||||
#
|
#
|
||||||
JENKINS_PORT="80"
|
JENKINS_PORT="8080"
|
||||||
|
|
||||||
## Type: integer(0:65535)
|
## Type: integer(0:65535)
|
||||||
## Default: 8009
|
## Default: 8009
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
dnf: name={{ item }} state=installed
|
dnf: name={{ item }} state=installed
|
||||||
with_items:
|
with_items:
|
||||||
- jenkins
|
- jenkins
|
||||||
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1236210
|
||||||
|
# FIXME: remove when not needed any longer
|
||||||
|
- unzip
|
||||||
tags:
|
tags:
|
||||||
- jenkins
|
- jenkins
|
||||||
- jenkins/master
|
- jenkins/master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue