forked from data.coop/ansible
Remove some redundancy.
This commit is contained in:
parent
e5427616dc
commit
200304dd17
|
@ -10,10 +10,10 @@ else
|
||||||
"services")
|
"services")
|
||||||
if [ -z "$2" ]; then
|
if [ -z "$2" ]; then
|
||||||
echo "Deploying all services!"
|
echo "Deploying all services!"
|
||||||
$BASE_CMD --tags setup_services --ask-vault-pass
|
$BASE_CMD --tags setup_services
|
||||||
else
|
else
|
||||||
echo "Deploying services: $2"
|
echo "Deploying services: $2"
|
||||||
$BASE_CMD --tags setup_services --ask-vault-pass --extra-vars "services=$2"
|
$BASE_CMD --tags setup_services --extra-vars "services=$2"
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue