فهرست منبع

Fix etcd default interface

- instead of hardcoding to eth0, use the interface associated with the ipv4
  default route as the default instead.
Jason DeTiberus 10 سال پیش
والد
کامیت
e5a1a07de6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      roles/etcd/defaults/main.yaml

+ 1 - 1
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