Commit 6db930e6 authored by daidekun's avatar daidekun

fixbugs

parent a7b62841
...@@ -37,7 +37,7 @@ def call(body) { ...@@ -37,7 +37,7 @@ def call(body) {
machines_list = _utils.partList(arr_machines.toList(), int_count, count) machines_list = _utils.partList(arr_machines.toList(), int_count, count)
for (machine in machines_list) { for (machine in machines_list) {
print machines_list print machine[0]
sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine} -vv" sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machine} -vv"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment