Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory #15

Open
josh-wrale opened this issue Feb 28, 2013 · 7 comments
Open

No such file or directory #15

josh-wrale opened this issue Feb 28, 2013 · 7 comments

Comments

@josh-wrale
Copy link

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

@mavimo
Copy link

mavimo commented Mar 10, 2013

Same problem for me

@leucos
Copy link

leucos commented Mar 10, 2013

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.

@mavimo
Copy link

mavimo commented Mar 10, 2013

@leucos confirm that I miss to run env-setup.. n00b error, sorry :P

@leucos
Copy link

leucos commented Mar 10, 2013

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.

@mavimo
Copy link

mavimo commented Mar 10, 2013

@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 ;)

@leucos
Copy link

leucos commented Mar 10, 2013

Great ! May be @josh-wrale had the same problem ?

@seyyah
Copy link

seyyah commented Aug 15, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants