I’ve installed virtual box, vagrant and ansible from http://www.pyrosoft.co.uk/blog/2012/06/26/installing-ansible-on-osx-lion/
But I can’t get anything to work. I can start vagrant and ssh in but I can’t get to any urls.
I don’t have /etc/ansible/hosts, is this supposed to be created on install?
Running ansible all -m ping I get these errors
192.168.0.62 | FAILED => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue
and with -vvvv
192.168.0.62 | FAILED => SSH encountered an unknown error. The output was:
OpenSSH_5.9p1, OpenSSL 0.9.8y 5 Feb 2013
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: auto-mux: Trying existing master
debug1: Control socket “/Users/Derek/.ansible/cp/ansible-ssh-192.168.0.62-22-Derek” does not exist
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.62 [192.168.0.62] port 22.
debug2: fd 3 setting O_NONBLOCK
debug1: connect to address 192.168.0.62 port 22: Operation timed out
ssh: connect to host 192.168.0.62 port 22: Operation timed out
My vagrant file looks likem
Vagrant::Config.run do |config|
config.vm.box = “lucid32”
config.vm.forward_port 80, 4567
end
But when I got to localhost:4567 nothing shows (this webpage is not available)
I have a completely fresh install of mountain lion so nothing should be blocking anything.