vagrant-ansible
vagrant-ansible copied to clipboard
No such file or directory
I tried the procedure in the readme.md file today on Fedora 17 with the latest Vagrant RPM and a 'vagrant gem install vagrant-ansible'. The install was vagrant-ansible-0.0.5.
Here's the problem:
http://pastebin.com/raw.php?i=8JzjRL8U
Please let me know if you have any questions.
-Joshua
Same problem for me
Works fine for me. Are you sure ansible-playbook
is in your path ? If you run ansible from git with source ./hacking/env-setup
it won't work.
@leucos confirm that I miss to run env-setup.. n00b error, sorry :P
NP @mavimo . Does't it run if you source env-setup first ? Not sure env is preserved with vagrant's safe_exec
. You might have to install ansible system wide.
@leucos it works.
marco@supernova:~/Development/agavee/servers |master ✗ | » source ../../ansible/ansible/hacking/env-setup
PATH=/home/marco/Development/ansible/ansible/bin:/home/marco/.rvm/gems/ruby-1.9.3-p194@agavee-servers/bin:/home/marco/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/marco/.rvm/rubies/ruby-1.9.3-p194/bin:/home/marco/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PYTHONPATH=/home/marco/Development/ansible/ansible/lib:
ANSIBLE_LIBRARY=/home/marco/Development/ansible/ansible/library
MANPATH=/home/marco/Development/ansible/ansible/docs/man:
Reminder: specify your host file with -i
Done.
marco@supernova:~/Development/agavee/servers |master ✗ | » vagrant up
and it works ;)
Great ! May be @josh-wrale had the same problem ?
Our problem is same as @josh-wrale, and i solve updating path,
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
Platform: MAC OS X 10.8.4