-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I am trying to run the plugin with my debian 7 base box which has ansible installed but not any specific host file in place. I am guessing the plugin wants to use the default hosts file.
Up until now, I am running the local ansible with the command
ansible-playbook -i 'localhost ansible_connection=local,' /path/to/playbook.yml
which bypasses the hosts file completly.
I did some digging and came across :raw_arguments, which can be used to bypass the hosts file as well:
:raw_arguments => "-i 'localhost ansible_connection=local,'"
As the config.rb is saying, this is a joker argument and I don't really feel good using it. I'd like to change it for the better. As far as I'm concerned, there should be no problem changing the default hosts file to something build in?
If this is in your interest as well, I'd see if I can find some time writing a pull request. I'm not really good at ruby or vagrant plugins, but I could give it a try I guess.