main.yml 795 B

123456789101112131415161718192021
  1. # creating batman interface
  2. - name: Create interfaces - batman file
  3. template: src="batman.j2" dest="/etc/network/interfaces.d/10_batman.cfg"
  4. notify:
  5. - restart networking
  6. when: domaenenliste is defined
  7. #append line in interfaces file for reading additional config files
  8. - name: let read interfaces from interfaces
  9. lineinfile: dest="/etc/network/interfaces" line="source /etc/network/interfaces.d/*"
  10. notify:
  11. - restart networking
  12. when: domaenenliste is defined
  13. - name: Routingtabelle 42 auch ffnet nennen
  14. lineinfile: dest="/etc/iproute2/rt_tables" line="42 ffnet"
  15. when: domaenenliste is defined
  16. - name: Drei Sekunden nach Kernelpanik automatisch neu starten
  17. sysctl: name="kernel.panic" value=3 sysctl_set=yes state=present reload=yes
  18. when: domaenenliste is defined