Category "vagrant"

How to activate python virtual environment on remote machine with ansible?

I'm learning Vagrant and Ansible, I'm trying to setup a local development environment for a basic flask app in ubuntu20.04 with Nginx. my vagrantfile looks like

asdf plugin add giving "curl: (3) Illegal characters found in URL" with packer build

Packer version 1.8.0 https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_windows_amd64.zip I am using packer vagrant builder to generate a vagrant-box for

How to connect to rabbit on vagrant host?

I set up a server using vagrant on a virtual machine. After installing rabbitmq, I tried to connect to it using script outside VM. There's already Django and Ra

The IP address configured for the host-only network is not within the allowed ranges

I got this error when I run vagrant up on my macOS: The IP address configured for the host-only network is not within the allowed ranges. Please update the add

Provisioning with Ansible and Vagrant multiple vagrantfiles

I'm creating a monitoring environment that has monitoring_servers and monitored_boxes, and of course Ansible controller. For testing roles etc I've created a n

Access Apache Spark WebUI running in Vagrant

So I setup a vagrant environment with Spark 1.5.0 installed. Then I use sbin/start-all.sh to start Spark. Inside VM I can curl localhost:8080 to get the HTML co

How do I use vagrant and browsersync with local domain?

I use vagrant and I have it configured to update my etc/host file here's an example. 10.20.1.36 example.dev I can then access the VM's apache server with ht

How to specify a provider during `vagrant up` command?

I have two machines (linux, Mac) and need to use vagrant to manage the vm. VirtualBox is used in the Liux while parallels is used in Mac. so I configured these

Ansible is being run in a world writable directory (/vagrant), ignoring it as an ansible.cfg source

trying to provision vagrant vm (ubuntu/trusty64) with ansible_local provisioner from cygwin [WARNING] Ansible is being run in a world writable directory (/v

Vagrant box after rebooting itself doesn't mount synced folders

When I reboot vagrant box from inside it with sudo /sbin/shutdown -r now synced folders remain empty. How can I manage remounting synced folders?