main.yml 503 B

123456789101112
  1. ---
  2. - name: Tunnels between backbones
  3. template: src="gre_interbackbone.j2" dest="/etc/network/interfaces.d/42_gre_interbackbone.cfg"
  4. notify: restart networking
  5. - name: Routingtabelle 42 auch ffnet nennen
  6. lineinfile: dest="/etc/iproute2/rt_tables" line="42 ffnet"
  7. #append line in interfaces file for reading additional config files
  8. - name: let read interfaces.d from interfaces
  9. lineinfile: dest="/etc/network/interfaces" line="source /etc/network/interfaces.d/*"
  10. notify: restart networking