I've been trying to pass in command line options to the vagrant CLI, so 
that I can just provision a certain ansible tag, should I so desire.

I've got this working, but only by removing any spaces in my command line 
options. So:

ANSIBLE_ARGS='-t elasticsearch' vagrant provision <= this fails
ANSIBLE_ARGS='-telasticsearch' vagrant provision <= this works

My problem is that I can't figure out why I need to remove the blank space, 
esp. when the Vagrant docs seem to say it is allowed 
(https://diigo.com/01od86)

This gist shows my Vagrantfile and the output of the two commands: 
https://gist.github.com/phantomwhale/9657134

I have tried putting ansible.raw_arguments = '-t elasticsearch' directly 
into the Vagrantfile too, which fails in the same manner.

Cheers,
Ben

(Vagrant 1.5.1)

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to