summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-02-19 14:52:33 -0700
committerJhon Honce <jhonce@redhat.com>2015-02-19 14:52:33 -0700
commita1b6d03c256ff0065cb7a8772533a1b2c81410e1 (patch)
treea605f0ed891faed36126ba8045d338e3f39d940e /roles/openshift_node
parent81db3db61f911cbbc6ff8f88b90cecb870c41381 (diff)
downloadopenshift-a1b6d03c256ff0065cb7a8772533a1b2c81410e1.tar.gz
openshift-a1b6d03c256ff0065cb7a8772533a1b2c81410e1.tar.bz2
openshift-a1b6d03c256ff0065cb7a8772533a1b2c81410e1.tar.xz
openshift-a1b6d03c256ff0065cb7a8772533a1b2c81410e1.zip
Fix SSL support between master and node(s)
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/main.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index e0041a90c..5d846fbe3 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -27,7 +27,7 @@
regexp: "{{ item.regex }}"
line: "{{ item.line }}"
with_items:
- - { regex: '^OPTIONS=', line: 'OPTIONS=\"--master=http://{{ oo_master_ips[0] }}:8080 --loglevel=5\"' }
+ - { regex: '^OPTIONS=', line: 'OPTIONS=\"--master=https://{{ oo_master_ips[0] }}:8443 --loglevel=5\"' }
notify:
- restart openshift-node
@@ -37,7 +37,8 @@
- name: Save firewalld port for OpenShift
firewalld: port=10250/tcp permanent=true state=enabled
+ # Always bounce service to pick up new credentials
- name: Enable OpenShift
- service: name=openshift-node enabled=yes state=started
+ service: name=openshift-node enabled=yes state=restarted
- local_action: file name={{ mktemp.stdout }} state=absent