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