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
Openstack convert an instance with ephemeral root disk to persistent root disk
Convert an Openstack instance root disk from ephemeral storage to persistent.
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
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
Ansible DNS Check Playbook
Recently I was working on writing some quick Openstack and VMware deployment workflows. I wrote a DNS Check playbook to do a quick DNS lookup that would fail if the requested hostname already existed in DNS. This playbook runs on the ansible host and uses the lookup plugin to perform a dig on the passed … Continue reading Ansible DNS Check Playbook