Skip to content

Commit

Permalink
Fix check for uninstall scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
neelimamukiri committed Apr 16, 2017
1 parent f56381b commit edf8182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/ansible/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ echo "Uninstalling Contiv"
echo '- include: uninstall_auth_proxy.yml' >$ansible_path/uninstall_plays.yml
echo '- include: uninstall_contiv.yml' >>$ansible_path/uninstall_plays.yml

if [ $uninstall_scheduler = True ]; then
if [ $uninstall_scheduler == true ]; then
echo '- include: uninstall_scheduler.yml' >>$ansible_path/uninstall_plays.yml
echo '- include: uninstall_etcd.yml' >>$ansible_path/uninstall_plays.yml
echo '- include: uninstall_docker.yml' >>$ansible_path/uninstall_plays.yml
else
if [ "$cluster_store" = "" ]; then
if [ "$cluster_store" == "" ]; then
echo '- include: uninstall_etcd.yml' >>$ansible_path/uninstall_plays.yml
fi
fi
Expand Down

0 comments on commit edf8182

Please sign in to comment.