blob: fb160cc9f65f8e8099eaa938cce40f5533f97302 [file] [log] [blame]
David K. Bainbridge6f2cbe72016-08-19 15:48:07 -07001- name: Bridge Support is Present
2 apt:
3 name: bridge-utils
4 force: yes
5 tags: [prod]
6
7- name: Ensure Management Bridge
8 copy:
9 src: mgmtbr.cfg
10 dest: /etc/network/interfaces.d/mgmtbr.cfg
11 owner: root
12 group: root
13 mode: 0644
14
15- name: Ensure Management Bridge Up
16 command: ifup mgmtbr
David K. Bainbridgef5ffb0d2016-11-04 16:14:54 +010017 changed_when: true
David K. Bainbridge6f2cbe72016-08-19 15:48:07 -070018
Andy Bavier0f07bb32017-01-17 10:20:26 -050019- name: Ensure fabric bridge
20 copy:
21 src: fabric.cfg
22 dest: /etc/network/interfaces.d/fabric.cfg
23 owner: root
24 group: root
25 mode: 0644
26
27- name: Ensure fabric bridge
28 command: ifup {{ item }}
29 changed_when: true
30 with_items:
31 - fabric
32 - fabric:0
33 - fabric:1