diff options
-rw-r--r-- | roles/local_deploy/files/ansible_run.sh | 2 |
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" |