فهرست منبع

Restart network handler now excludes the default interface to not cause problems with the ssh connection

Till Klocke 10 سال پیش
والد
کامیت
611c8a3e7d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      roles/supernode-interfaces/handlers/main.yml

+ 1 - 1
roles/supernode-interfaces/handlers/main.yml

@@ -1,4 +1,4 @@
 ---
 # handlers file for supernode-interfaces
 - name: Restart network
-  shell: ifdown --exclude=lo -a && ifup --exclude=lo -a
+  shell: ifdown --exclude=lo --exclude="{{supernode_public_interface}}" -a && ifup --exclude=lo --exclude="{{supernode_public_interface}}" -a