summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorSylvain Baubeau <sbaubeau@redhat.com>2015-10-13 16:36:01 +0200
committerSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 17:42:56 +0100
commit2a7131b9403a4b22ebc55606814f604f723dc826 (patch)
tree0930790b4718d3bcfb96da8fb7cc65072e280f64 /playbooks/common/openshift-master
parentf450c935f69366a15e078ec11b82bfa0c7130f6d (diff)
downloadopenshift-2a7131b9403a4b22ebc55606814f604f723dc826.tar.gz
openshift-2a7131b9403a4b22ebc55606814f604f723dc826.tar.bz2
openshift-2a7131b9403a4b22ebc55606814f604f723dc826.tar.xz
openshift-2a7131b9403a4b22ebc55606814f604f723dc826.zip
Add flannel support
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/config.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 1dec923fc..54d61da06 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -247,6 +247,14 @@
when: ( deployment_type in ['atomic-enterprise','openshift-enterprise'] ) and
(osm_use_cockpit | bool or osm_use_cockpit is undefined )
+- name: Configure flannel
+ hosts: oo_first_master
+ vars:
+ etcd_urls: "{{ openshift.master.etcd_urls }}"
+ roles:
+ - role: flannel_register
+ when: openshift.common.use_flannel | bool
+
# Additional instance config for online deployments
- name: Additional instance config
hosts: oo_masters_deployment_type_online