Skip to content
Advertisement

Tag: vagrant

Can’t resolve rubygems.org (too many redirects)

For some reason my vagrant VM cannot resolve rubygems.org. It was working fine yesterday, today I made no changes and now it no longer works: Fresh Ubuntu install Installing ruby gems (fails) Can’t resolve rubygems.org Other websites seem fine I can resolve by IP address More Info It was working This was working fine yesterday night! The VM /etc/hosts seems

Ansible after ‘vagrant provision’ gives this error “Could not import python modules: apt, apt_pkg. Please install python-apt package.”

I have a very simple VagrantFile and Ansible Playbook. I just want to test install httpd. But every time I run vagrant provision after the VM is up I get this error: This is my VagrantFile: And this is my simple playbook.yml: And my inventory.yml: I did install the python-apt package on the virtual machine, but still no dice. If

Advertisement