# creating batman interfaces - name: Create interfaces - batman file template: src="batman.j2" dest="/etc/network/interfaces.d/30_batman.cfg" notify: - restart networking #append line in interfaces file for reading additional config files - name: let read interfaces from interfaces lineinfile: dest="/etc/network/interfaces" line="source /etc/network/interfaces.d/*" notify: - restart networking