summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Castro <spinolacastro@gmail.com>2015-12-16 10:40:44 -0300
committerJason DeTiberus <jdetiber@redhat.com>2016-01-12 16:22:29 -0500
commit98e46eda537fae3a7547f8a1ab1337dd7229252e (patch)
treebc03a5d8a8c7e0d03596aff2ff8f5cb80c753265
parent46b9ee3a4bd74a2dd815c0c465bb17c85db90d17 (diff)
downloadopenshift-98e46eda537fae3a7547f8a1ab1337dd7229252e.tar.gz
openshift-98e46eda537fae3a7547f8a1ab1337dd7229252e.tar.bz2
openshift-98e46eda537fae3a7547f8a1ab1337dd7229252e.tar.xz
openshift-98e46eda537fae3a7547f8a1ab1337dd7229252e.zip
Fix bind address/port when isn't default
-rw-r--r--roles/openshift_master/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 3b46a0df4..61b416f93 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -244,7 +244,7 @@
line: "{{ item.line }}"
with_items:
- regex: '^OPTIONS='
- line: "OPTIONS=--loglevel={{ openshift.master.debug_level }} --listen=https://0.0.0.0:8443 --master=https://{{ openshift.common.ip }}:8443"
+ line: "OPTIONS=--loglevel={{ openshift.master.debug_level }} --listen=https://{{ openshift.master.bind_addr }}:{{ openshift.master.api_port }} --master=https://{{ openshift.common.ip }}:{{ openshift.master.api_port }}"
- regex: '^CONFIG_FILE='
line: "CONFIG_FILE={{ openshift_master_config_file }}"
when: openshift_master_ha | bool and openshift_master_cluster_method == "native"