Posts Tagged ‘vagrant’

Creating a Vagrant, Virtualbox & Ansible environment in the Windows Linux Subsystem

I’ve just been given a new Windows corporate laptop, with a huge amount of RAM (64GB), a large number of cores, and I wanted to start using this as my main development virtualisation platform. I do a lot of stuff with Vagrant, Ansible and VirtualBox and Windows hasn’t always been a welcome home for this […]

Vagrant: Create a series of VMs from a hostname array

I couldn’t find any examples of creating VMs from a array of strings online so sat down to work something out myself. Here’s how you do it… Vagrant.configure(“2”) do |config| [ “web1”, “db1”, “web2”, “db2”, “backup1”, “backup2”, “admin1” ].each do |host| config.vm.define “#{host}” do |nrpe| = “bento/centos-7.5” nrpe.vm.provider :virtualbox do |vb| vb.customize [ “modifyvm”, […]

Setting up a Ansible Module Test Environment

I’ve begun developing some Ansible modules and have created a Vagrant environment to help with testing. You can check it over over on my github. The environment has been created to test some MongoDB modules but can easily be repurposed to another use. It’s quite simple to get started; git clone cd AnsibleTest vagrant up […]

Jenkins test instance with Vagrant & Ansible

Here’s yet another project using Vagrant and Ansible. This time it’s for a Jenkins instance. To get started head on over to the Jenkins test instance github page. Consult the readme for setup instructions.

A Cassandra Cluster using Vagrant and Ansible

I’ve started a new project to create a Cassandra Cluster for development purposes. It’s available on my github and uses Vagrant, Ansible, and VirtualBox. Assuming everything is installed it’s quite easy to get started; git clone cd CassandraCluster vagrant up Check the status of the machines; vagrant status; Current machine states: cnode1 running (virtualbox) […]