Posts Tagged ‘vagrant’

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


Warning: count(): Parameter must be an array or an object that implements Countable in /home/fbsqlcom/public_html/youdidwhatwithtsql.com/wp-content/plugins/wp-codebox/main.php on line 31

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… ?View Code RUBYVagrant.configure("2") do |config|   [ "web1", "db1", "web2", "db2", "backup1", "backup2", "admin1" ].each do |host| config.vm.define "#{host}" do |nrpe| nrpe.vm.box = "bento/centos-7.5" nrpe.vm.provider :virtualbox do |vb| […]

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; ?View Code BASHgit clone https://github.com/rhysmeister/AnsibleTest.git cd AnsibleTest […]

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; ?View Code BASHgit clone https://github.com/rhysmeister/CassandraCluster.git cd CassandraCluster vagrant up Check the status of the machines; ?View Code BASHvagrant status; Current machine […]