diff --git a/production2/deploy.sh b/production2/deploy.sh index 5c6b5dd7d8e192e099d62173063bad6a59ce900f..0ec26d47ee46254825d19d648ce48c8e10b46e19 100755 --- a/production2/deploy.sh +++ b/production2/deploy.sh @@ -52,4 +52,4 @@ ansible-playbook playbooks/squid.yaml ansible-playbook playbooks/cvmfs.yaml # wait for finish -while ansible -m command -a 'kubectl get pods --all-namespaces' master | tail -n +3 | grep -v ' Running '; do sleep 5; done +while ansible -m command -a 'kubectl get pods --all-namespaces' master | tail -n +3 | grep -Ev ' (Running|Completed) '; do sleep 5; done