summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2015-03-23 12:23:56 +0100
committerMichael Scherer <misc@zarb.org>2015-03-23 12:23:56 +0100
commit6ea2f9549551cff5a1d20f829b3f7d31d30fb5eb (patch)
tree623ae87ee7a340a9bc2c641e4a519bc6b471b374 /roles
parent82c9743cfc982e0b565e5b21ecb06c7cde59dbad (diff)
Fix the script to show a error message
Diffstat (limited to 'roles')
-rw-r--r--roles/local_deploy/files/ansible_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/local_deploy/files/ansible_run.sh b/roles/local_deploy/files/ansible_run.sh
index 4e43f93..686907a 100644
--- a/roles/local_deploy/files/ansible_run.sh
+++ b/roles/local_deploy/files/ansible_run.sh
@@ -11,7 +11,7 @@ if [ -f /etc/ansible/requirements.yml ]; then
/usr/bin/ansible-galaxy install -f -r /etc/ansible/requirements.yml
fi
-if [ -n $RESULT ]; then
+if [ -n "$RESULT" ]; then
ansible-playbook -c local $RESULT
else
echo "No playbook for this host found"