main.yml 490 B

123456789101112131415161718
  1. ---
  2. # tasks file for peering
  3. - name: Install interface definitions
  4. template:
  5. dest: "/etc/network/interfaces.d/{{item.file}}"
  6. src: "{{item.template}}"
  7. with_items:
  8. - file: peering.cfg
  9. template: peering_interfaces.j2
  10. # - name: Install bird.conf
  11. # template: src=bird.conf.j2 dest=/etc/bird/conf.d/peering.conf
  12. # notify: Reload bird daemons
  13. # - name: Install bird6.conf
  14. # template: src=bird6.conf.j2 dest=/etc/bird/conf6.d/peering.conf
  15. # notify: Reload bird daemons