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
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.
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:
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.
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. …
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. …
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.
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…
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…
DevOps Engineer, Endurance Athlete and Author.