Fix provision.sh
This commit is contained in:
parent
90cc378393
commit
97311b4589
|
@ -1,4 +1,5 @@
|
|||
[defaults]
|
||||
ask_vault_pass = True
|
||||
remote_user = sysadm
|
||||
remote_tmp = /tmp/.ansible
|
||||
inventory = inventory
|
||||
|
|
|
@ -22,7 +22,7 @@ install_modules() {
|
|||
fi
|
||||
}
|
||||
|
||||
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass"
|
||||
BASE_CMD="ansible-playbook playbook.yml --ask-become-pass"
|
||||
cd "$(dirname "$0")" || exit 255
|
||||
|
||||
if [ "$1" = "--dry" ]; then
|
||||
|
@ -67,12 +67,7 @@ case $TAG in
|
|||
shift
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
--*)
|
||||
;;
|
||||
*)
|
||||
SINGLE_SERVICE="$1" ;;
|
||||
esac
|
||||
SINGLE_SERVICE="$1"
|
||||
|
||||
if [ -z "$ACTION" ] && [ -n "$SINGLE_SERVICE" ]; then
|
||||
VARS="single_service=$SINGLE_SERVICE"
|
||||
|
|
Reference in a new issue