Explorar el Código

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

Till Klocke hace 9 años
padre
commit
9e49d7861f
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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}}"