Simple Ansible Directory Structure Creation

You can quickly create an Ansible Directory structure using something like the following example. In my example the Ansible directory is just within my Home Directory, I then have a directory called “Plays” where the Ansible Play files are stored and another one called “Roles” where the roles are stored. If say we wanted to … Read more

More Adventures in Ansible – Bind Example

Following on from a previous article https://geekmungus.co.uk/?p=4510 we now investigate some more into using Ansible for configuration management and installations. As something we can use as an example, we’re going to setup a simple Bind DNS server, which we can use to explore how to manage the installation of Bind and it’s configuration within Ansible. … Read more

Using Git with HTTPS

Although SSH is preferred, if you want to use Git’s credential helper here’s two simple options, note you’ll probably not want to use the Credentials Helper method, because it stores the credentials in a plain-text file, albeit in your home directory, but still. Using the Credentials Helper, you won’t have to re-enter your username and … Read more

Ansible Workstation Setup and Example

I’m trying a simple example Ansible configuration, I have three Raspberry Pi, each with Ubuntu Linux 22.04.4 LTS installed, one I’m going to use as the Ansible Workstation, then use it to configure the other two servers for different use cases. Its a simple setup, but helps build understanding. My Ansible workstation is called dev1 … Read more

Example Website Workload – Amazon Elastic Container Service (ECS) with Application Load Balancer and DNS (Route53), including NAT Gateway

The Amazon Elastic Container Service (ECS), specifically Fargate allows you to run containers on an ad-hoc basis.  The following guide assumes you have already deployed an Amazon Elastic Container Registry (ECR), built your image, pushed it to the ECR and have obtained the Repository URI. The guide also uses local Terraform state, please see the … Read more

Example Website Workload – AWS Elastic Container Service (AWS) with ALB, Route53 and Certificate

The below gives a simple example showing how you can deploy a containerised workload: a NGINX web server in this example which has two (or more) containers (tasks) running on AWS Fargate, presented behind a “Service” definition which is then presented to the Internet via an Application Load Balancer (ALB) where a certificate is obtained … Read more

Perl Mail::Mailer From Address, being ignored?

While using Perl Mail::Mailer to send from an on-site application to our Microsoft 365 tenancy via SMTP, we had an oddity. We’d already setup the Microsoft 365 tenancy to have a receive connector which was autheniticating via the source address, i.e. our on-premise IP range. When testing via a test Perl script which was the … Read more