summaryrefslogtreecommitdiffstats
path: root/roles/etcd/defaults
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-07-17 11:18:56 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-07-17 11:18:59 -0400
commite5a1a07de672047990f12140dfdad26e66e34757 (patch)
treebd8f194530b4fd184bd4d29195f43a003655ba97 /roles/etcd/defaults
parent29ef7f6d62dcf6c4fec99d88c66f7e43e9d3e574 (diff)
downloadopenshift-e5a1a07de672047990f12140dfdad26e66e34757.tar.gz
openshift-e5a1a07de672047990f12140dfdad26e66e34757.tar.bz2
openshift-e5a1a07de672047990f12140dfdad26e66e34757.tar.xz
openshift-e5a1a07de672047990f12140dfdad26e66e34757.zip
Fix etcd default interface
- instead of hardcoding to eth0, use the interface associated with the ipv4 default route as the default instead.
Diffstat (limited to 'roles/etcd/defaults')
-rw-r--r--roles/etcd/defaults/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/etcd/defaults/main.yaml b/roles/etcd/defaults/main.yaml
index 0fb45f37c..0f216b84e 100644
--- a/roles/etcd/defaults/main.yaml
+++ b/roles/etcd/defaults/main.yaml
@@ -1,5 +1,5 @@
---
-etcd_interface: eth0
+etcd_interface: "{{ ansible_default_ipv4.interface }}"
etcd_client_port: 2379
etcd_peer_port: 2380
etcd_peers_group: etcd