Archive for the 'DevOps' Category

 

 

Feb 24 2022

Manage DNS Records with Terraform

Published by under DevOps,Terraform

Terraform helps building infrastructure as code. More and more hosting providers now offer Terraform plugins that let you handle DNS zones. Gandi is one of them along with OVH and many others. Let’s give it a try while version 2 has just ben released, and see how we can push DNS records to Gandi from […]

No responses yet

Jan 26 2022

Terraform Shared Resources: SSH Keys Case Study

Published by under DevOps,Terraform

Terraform lets you automate infrastructure creation and change in the cloud, what is commonly called infrastructure as code. I need to create a virtual machine, which must embed 3 SSH keys that belong to administrators. I want this Terraform shared resource to be reusable by other modules. This example on IBM Cloud is based on […]

No responses yet

Apr 13 2021

Make Ansible 6X Faster with these 3 Tips

Published by under Ansible

Speed up Ansible with 3 easy tweaks and more

No responses yet

Apr 01 2021

Build Ansible Inventory from IBM Cloud Resources

Published by under Ansible,Python

IBM Cloud relies on Softlayer API – also called IBM Classic Infrastructure – to automate things. The API is available in different languages such as Python, Go, Java or PHP, and can be used to build an Ansible inventory. Here I will generate automatically a host inventory collected from my IBM Cloud account, directly usable […]

No responses yet

Mar 06 2021

Why Ansible Upgrades Packages on Hold and How to Fix it

Published by under Ansible

I was writing a new Ansible role to upgrade all of my VMs with apt update and apt upgrade. I was still using an old Rancher that only works with docker-ce package up to version 18.06. A first task holds back the package with Ansible Dpkg module, basically an apt hold, as recommended on many […]

No responses yet

Next »