Browse Source

Mesh interface role can now ensure alone that other interface files are loaded

Till Klocke 9 years ago
parent
commit
9e49d7861f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      roles/internal/ffdo.mesh-interfaces/tasks/main.yml

+ 5 - 0
roles/internal/ffdo.mesh-interfaces/tasks/main.yml

@@ -1,6 +1,11 @@
 ---
 # tasks file for mesh-interfaces
 
+- name: Ensure interface definitions from other files are included
+  lineinfile:
+    dest: /etc/network/interfaces
+    line: "source /etc/network/interfaces.d/*.cfg"
+
 - name: Install interface definitions
   template:
     dest: "/etc/network/interfaces.d/{{item.file}}"