Feb
24
2022
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 […]
Tags: Terraform
Jan
26
2022
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 […]
Tags: IBMCloud, Terraform
Apr
13
2021
Speed up Ansible with 3 easy tweaks and more
Tags: Ansible
Apr
01
2021
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 […]
Tags: Ansible, IBM, IBMCloud, Python
Mar
06
2021
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 […]
Tags: Ansible, debian, linux, ubuntu