Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/precise64"
config.vm.box_url = "https://atlas.hashicorp.com/hashicorp/boxes/precise64"
config.vm.hostname = vm_hostname
config.vm.boot_timeout = 720
- name: Install Nginx
apt: pkg=nginx state=latest
You're using a pretty old box (I would even say deprecated as hashicorp has rebuilt the boxes as [ubuntu/precise64](https://atlas.hashicorp.com/ubuntu/boxes/precise64 - the box you're using has not been updated for 3 years (check https://atlas.hashicorp.com/hashicorp/boxes/precise64))
so you can try with
config.vm.box = "ubuntu/precise64"
but note ubuntu 12.04 is quite old as ubuntu release, you should look to use a more recent version, you can use