summaryrefslogtreecommitdiffstats
path: root/roles/flannel/defaults
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-06 16:37:05 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-06 16:37:05 -0500
commit0fe63e0ed8af3aec27ef4aa7eeaa5866f6ebce08 (patch)
tree65621b66033088d69cfa155e7319f780bd550ea8 /roles/flannel/defaults
parent21caa21c84b8f5a8bec415107bb7a6b6a2082790 (diff)
parente7b200a24816daf05da374ccfce3a4d5db66e291 (diff)
downloadopenshift-0fe63e0ed8af3aec27ef4aa7eeaa5866f6ebce08.tar.gz
openshift-0fe63e0ed8af3aec27ef4aa7eeaa5866f6ebce08.tar.bz2
openshift-0fe63e0ed8af3aec27ef4aa7eeaa5866f6ebce08.tar.xz
openshift-0fe63e0ed8af3aec27ef4aa7eeaa5866f6ebce08.zip
Merge pull request #698 from lebauce/flannel
Add support for flannel
Diffstat (limited to 'roles/flannel/defaults')
-rw-r--r--roles/flannel/defaults/main.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/flannel/defaults/main.yaml b/roles/flannel/defaults/main.yaml
new file mode 100644
index 000000000..34cebda9c
--- /dev/null
+++ b/roles/flannel/defaults/main.yaml
@@ -0,0 +1,8 @@
+---
+flannel_interface: "{{ ansible_default_ipv4.interface }}"
+flannel_etcd_key: /openshift.com/network
+etcd_hosts: "{{ etcd_urls }}"
+etcd_conf_dir: "{{ openshift.common.config_base }}/node"
+etcd_peer_ca_file: "{{ etcd_conf_dir }}/{{ 'ca' if (embedded_etcd | bool) else 'node.etcd-ca' }}.crt"
+etcd_peer_cert_file: "{{ etcd_conf_dir }}/{{ 'system:node:' + openshift.common.hostname if (embedded_etcd | bool) else 'node.etcd-client' }}.crt"
+etcd_peer_key_file: "{{ etcd_conf_dir }}/{{ 'system:node:' + openshift.common.hostname if (embedded_etcd | bool) else 'node.etcd-client' }}.key"