summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-02-19 14:52:33 -0700
committerJhon Honce <jhonce@redhat.com>2015-02-20 14:32:33 -0700
commitfd4d628907438ecb6372590d7ed67016b9e00de1 (patch)
treee8969dc8558507512f665174f5229917f83c9450
parent551dccac66421664a87de523c0e3cc2a6392beb9 (diff)
downloadopenshift-fd4d628907438ecb6372590d7ed67016b9e00de1.tar.gz
openshift-fd4d628907438ecb6372590d7ed67016b9e00de1.tar.bz2
openshift-fd4d628907438ecb6372590d7ed67016b9e00de1.tar.xz
openshift-fd4d628907438ecb6372590d7ed67016b9e00de1.zip
Fix SSL support between master and node(s)
-rw-r--r--playbooks/gce/openshift-node/launch.yml10
-rw-r--r--roles/openshift_node/tasks/main.yml3
2 files changed, 12 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-node/launch.yml b/playbooks/gce/openshift-node/launch.yml
index f2800b061..935599efd 100644
--- a/playbooks/gce/openshift-node/launch.yml
+++ b/playbooks/gce/openshift-node/launch.yml
@@ -45,3 +45,13 @@
# Apply the configs, separate so that just the configs can be run by themselves
- include: config.yml
+
+# Always bounce service to pick up new credentials
+#- name: "Restart instances"
+# hosts: oo_hosts_to_config
+# connection: ssh
+# user: root
+# tasks:
+# - debug: var=groups.oo_hosts_to_config
+# - name: Restart OpenShift
+# service: name=openshift-node enabled=yes state=restarted
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index deff80a3d..8a0694905 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -37,8 +37,9 @@
- name: Save firewalld port for OpenShift
firewalld: port=10250/tcp permanent=true state=enabled
+ # fixme: Once the openshift_cluster playbook is published state should be started
# 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