CORD-433 Add virtual fabric to CiaB
Change-Id: I8fbea8c85f309a4c226951e0cde96a9b7394d6eb
diff --git a/ansible/roles/prod/tasks/main.yml b/ansible/roles/prod/tasks/main.yml
index 1cd9f61..fb160cc 100644
--- a/ansible/roles/prod/tasks/main.yml
+++ b/ansible/roles/prod/tasks/main.yml
@@ -16,3 +16,18 @@
command: ifup mgmtbr
changed_when: true
+- name: Ensure fabric bridge
+ copy:
+ src: fabric.cfg
+ dest: /etc/network/interfaces.d/fabric.cfg
+ owner: root
+ group: root
+ mode: 0644
+
+- name: Ensure fabric bridge
+ command: ifup {{ item }}
+ changed_when: true
+ with_items:
+ - fabric
+ - fabric:0
+ - fabric:1