Gabe Black | 816018e | 2017-01-18 19:52:28 +0000 | [diff] [blame] | 1 | #! /bin/bash |
2 | #set -x | ||||
3 | COMPUTENODES=$( bash -c "source ~/service-profile/cord-pod/admin-openrc.sh ; nova hypervisor-list" |grep "cord.lab"|awk '{print $4}') | ||||
4 | |||||
5 | echo $COMPUTENODES | ||||
6 | |||||
7 | for NODE in $COMPUTENODES; do | ||||
8 | ansible-playbook -i /etc/maas/ansible/pod-inventory ~/xos_services/PassiveTest/install_viv.yaml -e instance_name=$NODE | ||||
9 | done |