Add ansible script to connect all switches to controller at once
Change-Id: Ib177787d1ce681939caf2ffc8d6c185e341a29d6
(cherry picked from commit a4ccbde0b41e781953a0c8db53a2a28969b5716b)
diff --git a/roles/head-node/tasks/main.yml b/roles/head-node/tasks/main.yml
index d8a535e..e050556 100644
--- a/roles/head-node/tasks/main.yml
+++ b/roles/head-node/tasks/main.yml
@@ -50,7 +50,7 @@
register: apikey
changed_when: false
-- name: Ensure Compute Node Playbook
+- name: Ensure Playbooks
become: yes
template:
src=files/{{ item }}
@@ -61,6 +61,7 @@
with_items:
- compute-node.yml
- switch-node.yml
+ - connect-switch.yml
- name: Ensure Dynamic Inventory Script
become: yes