Skip to content

Commit

Permalink
vagrant: fix quoting problem in ansible-step
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Adam <[email protected]>
  • Loading branch information
obnoxxx committed Apr 7, 2017
1 parent 0f4ccb8 commit 69ed23e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vagrant/ansible-step
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ if [[ $# -ge 1 ]]; then
START="--start-at-task=\"$*\""
fi

cmd="ansible-playbook --inventory=.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -v --step ${START} site.yml"

export ANSIBLE_HOST_KEY_CHECKING=False
ansible-playbook --inventory=.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -v --step ${START} site.yml
eval "$cmd"

0 comments on commit 69ed23e

Please sign in to comment.