Image courtesy of pexels.com

Ansible is one of the most popular configuration management applications going around right now, if your new to Ansible, things won’t get too difficult in the following post but it should show you how easy it is to create a PostgreSQL Database using Ansible.


Create Custom Ansible Modules Using BASH and Linux Shell

Image Courtesy of pexels.com

If you’ve used Ansible for a while, you probably know there is a module for pretty much everything. As Ansible is built using Python, its super easy for any company to provide supported modules for their application or service. It’s pretty rare you will ever need to create your own library but if you are a company wanting to provide support for your new application or service, you may be the one needing to create the Ansible module.


Image Courtesy Of Pexels.com

Ansible does a lovely job of deploying MySQL to a server with little fuss, there are one or two issues you might experience but hopefully we’ll be able to iron them out for you in the follow page. If you are new to Ansible, this won’t get too difficult, but we will use a Docker Image running Ansible that we discussed in our previous post “Create Your Own Docker Image Running Ansible”.

The following steps we’ll use to set up our MySQL database will be as follows:

  1. Create a hosts file, although not needed in small examples, usually something we…


Image Courtesy of pexels.com

Ok, I know it’s been an eternity since we’ve posted last. But we’re still here and working hard. We’ve had a few projects on the go over the past few months including an update and republish of our book “Practical Ansible: Configuration Management from Start to Finish”. You should see some more work coming out in the coming months on Medium, so stay tuned.

Ok, why on earth would you want to do something like this. Well, I think one thing we’ve learn’t about Docker is that it’s the perfect way to test and spin up environments on a clean…


An In Depth Guide To Getting Started In Triathlon

Originally Published On Steemit in November 2019

Introduction

It may have been a long term goal of yours, or someone’s convinced you to enter your local triathlon and you’re not quite sure how to get started. This is hoping to be a complete guide to anyone wanting to take on their very first triathlon. …


More Python To Create Tests To Run Over Your Ansible Playbooks

If you’ve never even thought about testing your Ansible playbooks, it’s actually something you can achieved pretty easily using ansible-lint. It doesn’t go all the way to ensure your playbook is 100% perfect, but by comparing your code and configurations to specific style guides and rules, ansible-lint will go part of the way in limiting issues that can arise during your infrastructure deployments.


Customising Ansible For Your Needs Is So Easy

Each day the number of Ansible modules continues to grow with extra support added as the usage of the application continues. So why would you need to create your own Ansible modules. Well there are a number of reasons, but I think the most valid one is, so you can gain an understanding on how the modules work. …


RightScale 2019 State Of The Cloud Report Shows Some Interesting Results

Image courtesy of pexels.com

Wednesday the 20th of February say Flexera publish its “RightScale 2019 State of the Cloud” report. The report covers a large cross section of topics in the cloud arena including the adoption of cloud among enterprises and SMB, the amount enterprise are spending on cloud, the difference in public and private cloud use and the types of tools used to manage their cloud environments.


Part 2. Importing And Working With Data

This is part 2 of our “Getting Back to Splunk Basics” series. In part 1 of the series, we covered a lot of the basics of using a docker instance of Splunk and setting it up on our desktop or laptop to have a practice environment where we can start to get familiar with the application. We logged into our environment and got familiar with the administering the application and even created a new user. In this post, we are going to extend our knowledge further and start using Splunk for what it was created for. We are going to…


Using A Pull Model To Deploy Code With Ansible

If you haven’t heard of Ansible Pull, thats because there is not really a lot of documentation on the subject. I stumbled across it a little while ago and found it to a good alternative, instead of needing to do the usual push implementation via Ansible Playbooks.

For example, if you wanted to install code from a GitHub repository every morning at a certain time, to make sure your development environment was up to date with the latest code, you could create a cronjob on your host that runs the ansible-pull command to download the latest master branch or development…

Vince Sesto

DevOps Engineer, Endurance Athlete and Author.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store