proxmox: consolidate interface templates
This commit is contained in:
parent
7b4cb8f579
commit
0af8474e52
6 changed files with 23 additions and 29 deletions
|
@ -25,22 +25,19 @@
|
|||
notify: reboot
|
||||
|
||||
- name: Set up interfaces
|
||||
template:
|
||||
dest: /etc/network/interfaces.d/real.intf
|
||||
src: real.intf.j2
|
||||
mode: 0644
|
||||
notify: reload interfaces
|
||||
|
||||
- name: Set up bridges
|
||||
template:
|
||||
dest: /etc/network/interfaces
|
||||
src: interfaces.j2
|
||||
mode: 0644
|
||||
notify: reload interfaces
|
||||
|
||||
- name: Set up fabric and loopback interfaces
|
||||
template:
|
||||
dest: '/etc/network/interfaces.d/{{ item }}'
|
||||
src: '{{ item }}.j2'
|
||||
mode: 0644
|
||||
notify: reload interfaces
|
||||
loop:
|
||||
- fabric.intf
|
||||
- loopback.intf
|
||||
|
||||
- include_tasks: mgmt.yml
|
||||
|
||||
- include_tasks: sdn.yml
|
||||
- include_tasks: frr.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue