Convert an Openstack instance root disk from ephemeral storage to persistent.
Ansible / Python Cross vcenter clone
During the process of automating VMware template creation, I came across a requirement to clone said templates to different vcenters. After checking out the ansible vmware modules, the vmware REST API documentation, I found that there was no out of box solution to clone to different vcenters. After doing a bit of research, I was … Continue reading Ansible / Python Cross vcenter clone
ManageIQ and VRA
What? Why? How? Those are the questions I have heard muttered by people when I tell them that I got manageIQ talking to VRA. It is not something that is commonly done, but I am always up for a challenge so I thought I would give it a try. The initial requirements went something like … Continue reading ManageIQ and VRA
Netflix and Python or how I scraped Aussie Netflix tv shows from finder
Scrape finder.com.au with python to obtain Australian Netflix list.
Netflix Australia – March 2019: Top 200 TV Series by IMDB Rating
Having trouble finding a new TV series to watch on Netflix I decided to do an experiment, list an arbitrary number of shows available on Netflix Australia by IMDB rankings. I have written some python modules to scrape finder.com.au for TV Series showing on Aussie netflix, pull it down then search for IMDB ratings using … Continue reading Netflix Australia – March 2019: Top 200 TV Series by IMDB Rating
Generate SSH Keys
I created a simple play to help a non linux team to be able to generate ssh keys on demand. The playbook requires the var email to be set, once done the playbook generates public/private ssh keypair, then emails the contents of the keys to the specified email address. Finally the playbook deletes the generated … Continue reading Generate SSH Keys
Fun with authorized_keys, openssh and window 2k16.
Recently I came across an issue getting ssh keys working from a linux machine to a windows 2016 server running openssh server. I generated the keys are you usually do, copied the public key over to the windows users $HOME/.ssh/authorized_keys. However it didn't seem to work. After a lot of digging around I found it … Continue reading Fun with authorized_keys, openssh and window 2k16.
Ansible Migrate GIT repos
Summary I recently had to figure out how to automate a migration of a dev git repo to a qa git repo. For security reasons, the repositories had to be kept separate, using one repo with branches for environments was immediately ruled out. The challenge then is to maintain 2 seperate git repositories, build an … Continue reading Ansible Migrate GIT repos
Add a volume to an Openstack Instance
Summary As a follow on to a similar post regarding vmware disks , this post will focus on a playbook to attach extra volumes to an Openstack instance. Requirements An account with appropriate access to add volumes in OSP.A valid instance.Enough resources to handle the new volumes. Get 'er done! The playbook requires an instance … Continue reading Add a volume to an Openstack Instance
Add new disks to VMware VM
Summary I was asked by a user to add a new disk to a VMware VM. I immediatly thought, I have to automate this. Although there is an ansible module available in 2.8 that will do this, I am working in an environment that uses Ansible 2.7, so I had to achieve this task using … Continue reading Add new disks to VMware VM